summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-02-22 20:12:44 +0000
committerMorgan Deters <mdeters@gmail.com>2012-02-22 20:12:44 +0000
commite1d2304f93adc9bd53d0d715de02648c2ba369fa (patch)
tree684e3483aae08ee1ea6100f4b2271adad52ab33a /config
parent7719c492e69e22f9bdf0ce84ecc41ba0a4423aee (diff)
make sure to clear out READLINE_LIBS if readline causes problems at configure time; fixes a bug reported by Clark for static-binary builds on machines where no static libreadline is available (like CIMS machines)
Diffstat (limited to 'config')
-rw-r--r--config/readline.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/readline.m4 b/config/readline.m4
index e97878ffa..42c85d47d 100644
--- a/config/readline.m4
+++ b/config/readline.m4
@@ -53,6 +53,7 @@ else
HAVE_LIBREADLINE=1
else
HAVE_LIBREADLINE=0
+ READLINE_LIBS=
fi
AC_DEFINE_UNQUOTED([HAVE_LIBREADLINE], ${HAVE_LIBREADLINE}, [Define to 1 to use libreadline])
AC_SUBST([READLINE_LIBS])
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback