mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* readline.m4: Check for completion functionality.
* ldap.m4: Comments.
This commit is contained in:
parent
f30b25e565
commit
f58ccc8c3d
3 changed files with 12 additions and 7 deletions
11
m4/ldap.m4
11
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]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue