1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-26 22:29:58 +01:00

* readline.m4: Check for completion functionality.

* ldap.m4: Comments.
This commit is contained in:
David Shaw 2005-03-21 14:32:44 +00:00
parent f30b25e565
commit f58ccc8c3d
3 changed files with 12 additions and 7 deletions

View File

@ -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> 2005-03-16 David Shaw <dshaw@jabberwocky.com>
* ldap.m4: New. Moved from configure.ac. * ldap.m4: New. Moved from configure.ac.

View File

@ -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 that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program. dnl the same distribution terms as the rest of that program.
dnl dnl
dnl Defines HAVE_LIBUSB to 1 if a working libusb setup is found, and sets dnl Defines @GPGKEYS_LDAP@ to a executable name if a working ldap
dnl @LIBUSB@ to the necessary libraries. HAVE_USB_GET_BUSSES is set if dnl setup is found, and sets @LDAPLIBS@ to the necessary libraries.
dnl usb_get_busses() exists.
AC_DEFUN([GNUPG_CHECK_LDAP], AC_DEFUN([GNUPG_CHECK_LDAP],
[ [
# Try and link a LDAP test program to weed out unusable LDAP # Try and link a LDAP test program to weed out unusable LDAP
# libraries. -lldap [-llber [-lresolv]] is for older OpenLDAPs. # libraries. -lldap [-llber [-lresolv]] is for older OpenLDAPs.
# OpenLDAP, circa 1999, was terrible with creating weird dependencies. # OpenLDAP, circa 1999, was terrible with creating weird dependencies.
# This seems to have all been resolved, so I'm simplifying this code # If all else fails, the user can play guess-the-dependency by using
# significantly. If all else fails, the user can play # something like ./configure LDAPLIBS="-Lfoo -lbar"
# guess-the-dependency by using something like ./configure
# LDAPLIBS="-Lfoo -lbar"
AC_ARG_WITH(ldap, AC_ARG_WITH(ldap,
AC_HELP_STRING([--with-ldap=DIR],[look for the LDAP library in DIR]), AC_HELP_STRING([--with-ldap=DIR],[look for the LDAP library in DIR]),

View File

@ -37,6 +37,8 @@ AC_DEFUN([GNUPG_CHECK_READLINE],
],[ ],[
add_history("foobar"); add_history("foobar");
rl_catch_signals=0; rl_catch_signals=0;
rl_inhibit_completion=0;
rl_attempted_completion_function=NULL;
]),_found_readline=yes,_found_readline=no) ]),_found_readline=yes,_found_readline=no)
AC_MSG_RESULT([$_found_readline]) AC_MSG_RESULT([$_found_readline])