Index: /trunk/FACT++/configure
===================================================================
--- /trunk/FACT++/configure	(revision 10561)
+++ /trunk/FACT++/configure	(revision 10562)
@@ -1730,10 +1730,10 @@
   --with-motif-libraries=DIR   Motif libraries are in DIR
   --with-cfitsio=DIR	root directory of cfitsio installation
-  --with-cfitsio-include=DIR        specify exact include dir for cfitsio headers
-  --with-cfitsio-libdir=DIR        specify exact library dir for cfitsio library
+  --with-cfitsio-include=DIR        specify exact include dir for cfitsio headers (e.g. fitsio.h)
+  --with-cfitsio-libdir=DIR        specify exact library dir for cfitsio library (e.g. libcfitsio)
   --without-cfitsio        disables cfitsio usage completely
   --with-ccfits=DIR	root directory of ccfits installation
-  --with-ccfits-include=DIR        specify exact include dir for ccfits headers
-  --with-ccfits-libdir=DIR        specify exact library dir for ccfits library
+  --with-ccfits-include=DIR        specify exact include dir for ccfits headers (e.g. CCfits/CCfits)
+  --with-ccfits-libdir=DIR        specify exact library dir for ccfits library (e.g. libCCfits)
   --without-ccfits        disables ccfits usage completely
   --with-mysql-include=<path> directory path of MySQL header installation
@@ -17010,20 +17010,10 @@
 
 
+if test "x$have_readline" != "xyes"; then
+   as_fn_error $? "The readline library is not properly installed." "$LINENO" 5
+fi
+
 CPPFLAGS+=" "$READLINE_INCLUDES" "
 LDFLAGS+=" "$READLINE_LIBS" "
-
-#AC_CHECK_LIB(readline, readline, [],
-#   [
-#      echo "Error! libreadline not found in default libarary paths."
-#      exit -1
-#   ]
-#)
-#AC_CHECK_HEADERS(readline/readline.h, [],
-#   [
-#      echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)."
-#      exit -1
-#   ]
-#)
-#
 
 # Needed to compile FACT++
@@ -21607,5 +21597,5 @@
 
 		cat > conftest.$ac_ext <<EOF
-#line 21609 "configure"
+#line 21599 "configure"
 #include "confdefs.h"
 #include <qglobal.h>
