Changeset 10559 for trunk


Ignore:
Timestamp:
05/04/11 13:45:10 (13 years ago)
Author:
tbretz
Message:
Added an error in case readline was not found
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure.ac

    r10526 r10559  
    7171AC_CHECK_READLINE
    7272
     73if test "x$have_readline" != "xyes"; then
     74   AC_MSG_ERROR([The readline library is not properly installed.])
     75fi
     76
    7377CPPFLAGS+=" "$READLINE_INCLUDES" "
    7478LDFLAGS+=" "$READLINE_LIBS" "
    75 
    76 #AC_CHECK_LIB(readline, readline, [],
    77 #   [
    78 #      echo "Error! libreadline not found in default libarary paths."
    79 #      exit -1
    80 #   ]
    81 #)
    82 #AC_CHECK_HEADERS(readline/readline.h, [],
    83 #   [
    84 #      echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)."
    85 #      exit -1
    86 #   ]
    87 #)
    88 #
    8979
    9080# Needed to compile FACT++
Note: See TracChangeset for help on using the changeset viewer.