]> www.ginac.de Git - ginac.git/blobdiff - configure.in
* Methods of class ex which do absolutely nothing than type dispatch should
[ginac.git] / configure.in
index 692ba3eea868826af1d4b791825f9dfa70217ba1..eb1284a97a1256cc61575120ab9119b02be4f0c4 100644 (file)
@@ -34,7 +34,7 @@ AC_SUBST(GINACLIB_VERSION)
 dnl GiNaC archive file version information.
 dnl
 dnl If properties have been added, ARCHIVE_VERSION += 1, ARCHIVE_AGE += 1.
-dnl If backwards compatibility has been broken, ARCHIVE_AGE to 0.
+dnl If backwards compatibility has been broken, set ARCHIVE_AGE to 0.
 dnl
 dnl The version number in newly created archives will be ARCHIVE_VERSION.
 dnl Archives version (ARCHIVE_VERSION-ARCHIVE_AGE) thru ARCHIVE_VERSION can
@@ -94,7 +94,9 @@ GINAC_TERMCAP
 save_LIBS=$LIBS
 LIBS="$LIBTERMCAP $LIBS"
 AC_CHECK_LIB(readline, readline)
-if test "x${ac_cv_lib_readline_readline}" != "xyes"; then
+if test "x${ac_cv_lib_readline_readline}" = "xyes"; then
+  GINAC_RLVERSION
+else
   GINAC_WARNING([I could not find libreadline (needed by ginsh).])
 fi
 GINSH_LIBS=$LIBS