Now only test for ncurses etc., when either Readline or Editline are being used. This will fix the basic problem of building on MinGW which does not have these libraries as standard. Fixed the typo in the AC_REVISION() macro.