summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2004-12-18 23:39:31 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2004-12-18 23:39:31 +0100
commitf3baa0602066abc19fae157c1d7614bd89889809 (patch)
tree23f66279b1160c4cd474623ab31f5e6fa29bca00 /configure.ac
parentReadline fix to be robust against platforms where readline has its own (diff)
downloadgnupg2-f3baa0602066abc19fae157c1d7614bd89889809.tar.xz
gnupg2-f3baa0602066abc19fae157c1d7614bd89889809.zip
Oddly commit missed this one.
* configure.ac: Call the new GNUPG_CHECK_READLINE macro for readline stuff.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 1 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index ecdb2c907..8117b1ee2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,14 +116,6 @@ AC_ARG_ENABLE(card-support,
card_support=$enableval, card_support=yes)
AC_MSG_RESULT($card_support)
-AC_MSG_CHECKING([whether readline support is requested])
-AC_ARG_WITH(readline,
- AC_HELP_STRING([--without-readline],
- [do not support fancy command line editing]),
- [readline_support="$withval"], [readline_support=yes])
-case "$readline_support" in yes);; no);; *)readline_support=yes;; esac
-AC_MSG_RESULT($readline_support)
-
AC_MSG_CHECKING([whether the new iconv based code is requested])
AC_ARG_ENABLE(gnupg-iconv,
AC_HELP_STRING([--disable-gnupg-iconv],
@@ -1176,14 +1168,8 @@ fi
AC_SUBST(LIBUSB_LIBS)
AC_CHECK_FUNCS(usb_get_busses)
-#
# Check for readline support
-#
-if test "$readline_support" = yes ; then
- AC_CHECK_LIB(readline, add_history)
- AC_CHECK_HEADERS([readline/readline.h])
-fi
-
+GNUPG_CHECK_READLINE
# Allow users to append something to the version string without
# flagging it as development version. The user version parts is