summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2005-03-21 15:32:44 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2005-03-21 15:32:44 +0100
commitf58ccc8c3d0a5267447b2f291ec79417548da4a3 (patch)
treecb914e275f0272ffd84361dacf3e361f9823c519
parent* card-util.c (command_generator, card_edit_completion) (diff)
downloadgnupg2-f58ccc8c3d0a5267447b2f291ec79417548da4a3.tar.xz
gnupg2-f58ccc8c3d0a5267447b2f291ec79417548da4a3.zip
* readline.m4: Check for completion functionality.
* ldap.m4: Comments.
-rw-r--r--m4/ChangeLog6
-rw-r--r--m4/ldap.m411
-rw-r--r--m4/readline.m42
3 files changed, 12 insertions, 7 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index b4969a58a..39ed5d1c0 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-21 David Shaw <dshaw@jabberwocky.com>
+
+ * readline.m4: Check for completion functionality.
+
+ * ldap.m4: Comments.
+
2005-03-16 David Shaw <dshaw@jabberwocky.com>
* ldap.m4: New. Moved from configure.ac.
diff --git a/m4/ldap.m4 b/m4/ldap.m4
index bb6f392fd..34c12896a 100644
--- a/m4/ldap.m4
+++ b/m4/ldap.m4
@@ -7,19 +7,16 @@ dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl
-dnl Defines HAVE_LIBUSB to 1 if a working libusb setup is found, and sets
-dnl @LIBUSB@ to the necessary libraries. HAVE_USB_GET_BUSSES is set if
-dnl usb_get_busses() exists.
+dnl Defines @GPGKEYS_LDAP@ to a executable name if a working ldap
+dnl setup is found, and sets @LDAPLIBS@ to the necessary libraries.
AC_DEFUN([GNUPG_CHECK_LDAP],
[
# Try and link a LDAP test program to weed out unusable LDAP
# libraries. -lldap [-llber [-lresolv]] is for older OpenLDAPs.
# OpenLDAP, circa 1999, was terrible with creating weird dependencies.
-# This seems to have all been resolved, so I'm simplifying this code
-# significantly. If all else fails, the user can play
-# guess-the-dependency by using something like ./configure
-# LDAPLIBS="-Lfoo -lbar"
+# If all else fails, the user can play guess-the-dependency by using
+# something like ./configure LDAPLIBS="-Lfoo -lbar"
AC_ARG_WITH(ldap,
AC_HELP_STRING([--with-ldap=DIR],[look for the LDAP library in DIR]),
diff --git a/m4/readline.m4 b/m4/readline.m4
index 829465857..7fc996b9b 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -37,6 +37,8 @@ AC_DEFUN([GNUPG_CHECK_READLINE],
],[
add_history("foobar");
rl_catch_signals=0;
+rl_inhibit_completion=0;
+rl_attempted_completion_function=NULL;
]),_found_readline=yes,_found_readline=no)
AC_MSG_RESULT([$_found_readline])