[Pinfo-devel] r274 - pinfo/trunk
Bas Zoetekouw
bas at costa.debian.org
Thu Mar 9 18:28:46 UTC 2006
Author: bas
Date: 2006-03-09 18:28:45 +0000 (Thu, 09 Mar 2006)
New Revision: 274
Modified:
pinfo/trunk/configure.ac
Log:
Fixed the readline check in autoconf.ac, which caused ./configure to fail if
readline was not found.
Modified: pinfo/trunk/configure.ac
===================================================================
--- pinfo/trunk/configure.ac 2006-03-09 18:27:59 UTC (rev 273)
+++ pinfo/trunk/configure.ac 2006-03-09 18:28:45 UTC (rev 274)
@@ -104,15 +104,15 @@
# if we have readline, it needs to be version 5
if test "x$has_readline" = "xtrue"
then
- if test "x$readline_version" = "x5"
+ if test "x$readline_version" != "x5"
then
- AM_CONDITIONAL(HAS_READLINE, test "$has_readline" = true)
- else
AC_MSG_WARN([Version 5 of readline is required to compile pinfo.
Yours is only version $readline_version.
Readline support will be disabled.])
+ has_readline=false
fi
fi
+AM_CONDITIONAL(HAS_READLINE, test "$has_readline" = true)
# curses
More information about the Pinfo-devel
mailing list