gnupg (ChangeLog configure.ac)
cvs user dshaw
cvs at cvs.gnupg.org
Sat Dec 18 00:03:27 CET 2004
Date: Saturday, December 18, 2004 @ 00:07:59
Author: dshaw
Path: /cvs/gnupg/gnupg
Modified: ChangeLog configure.ac
* configure.ac: Add a --with-ldap=DIR so people can add to the search
path.
--------------+
ChangeLog | 5 +++++
configure.ac | 46 ++++++++++++++++++++++++++++++----------------
2 files changed, 35 insertions(+), 16 deletions(-)
Index: gnupg/ChangeLog
diff -u gnupg/ChangeLog:1.224 gnupg/ChangeLog:1.225
--- gnupg/ChangeLog:1.224 Thu Dec 16 19:45:48 2004
+++ gnupg/ChangeLog Sat Dec 18 00:07:59 2004
@@ -1,3 +1,8 @@
+2004-12-17 David Shaw <dshaw at jabberwocky.com>
+
+ * configure.ac: Add a --with-ldap=DIR so people can add to the
+ search path.
+
2004-12-16 David Shaw <dshaw at jabberwocky.com>
* configure.ac: Check for arpa/nameser.h.
Index: gnupg/configure.ac
diff -u gnupg/configure.ac:1.117 gnupg/configure.ac:1.118
--- gnupg/configure.ac:1.117 Thu Dec 16 19:45:48 2004
+++ gnupg/configure.ac Sat Dec 18 00:07:59 2004
@@ -19,7 +19,7 @@
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
dnl
dnl (Process this file with autoconf to produce a configure script.)
-dnlAC_REVISION($Revision: 1.117 $)dnl
+dnlAC_REVISION($Revision: 1.118 $)dnl
AC_PREREQ(2.59)
min_automake_version="1.9.3"
@@ -305,44 +305,47 @@
AC_MSG_RESULT($enableval)
if test "$gnupg_cv_enable_keyserver_helpers" = yes ; then
+dnl LDAP is defined only after we confirm the library is available later
AC_MSG_CHECKING([whether LDAP keyserver support is requested])
AC_ARG_ENABLE(ldap,
- [ --disable-ldap disable LDAP keyserver interface],
- try_ldap=$enableval, try_ldap=yes)
+ AC_HELP_STRING([--disable-ldap],[disable LDAP keyserver interface only]),
+ try_ldap=$enableval, try_ldap=yes)
AC_MSG_RESULT($try_ldap)
AC_MSG_CHECKING([whether HKP keyserver support is requested])
AC_ARG_ENABLE(hkp,
- [ --disable-hkp disable HKP keyserver interface],
- try_hkp=$enableval, try_hkp=yes)
+ AC_HELP_STRING([--disable-hkp],[disable HKP keyserver interface only]),
+ try_hkp=$enableval, try_hkp=yes)
AC_MSG_RESULT($try_hkp)
AC_MSG_CHECKING([whether HTTP key fetching support is requested])
AC_ARG_ENABLE(http,
AC_HELP_STRING([--disable-http],[disable HTTP key fetching interface]),
- try_http=$enableval, try_http=yes)
+ try_http=$enableval, try_http=yes)
AC_MSG_RESULT($try_http)
- AC_MSG_CHECKING([whether Finger key fetching support is requested])
+ AC_MSG_CHECKING([whether finger key fetching support is requested])
AC_ARG_ENABLE(finger,
AC_HELP_STRING([--disable-finger],
- [disable Finger key fetching interface]),
- try_finger=$enableval, try_finger=yes)
+ [disable finger key fetching interface only]),
+ try_finger=$enableval, try_finger=yes)
AC_MSG_RESULT($try_finger)
AC_MSG_CHECKING([whether email keyserver support is requested])
AC_ARG_ENABLE(mailto,
- [ --disable-mailto disable email keyserver interface],
- try_mailto=$enableval, try_mailto=yes)
+ AC_HELP_STRING([--disable-mailto],
+ [disable email keyserver interface only]),
+ try_mailto=$enableval, try_mailto=yes)
AC_MSG_RESULT($try_mailto)
fi
AC_MSG_CHECKING([whether keyserver exec-path is enabled])
AC_ARG_ENABLE(keyserver-path,
- [ --disable-keyserver-path disable the exec-path option for keyserver helpers],
- [if test "$enableval" = no ; then
+ AC_HELP_STRING([--disable-keyserver-path],
+ [disable the exec-path option for keyserver helpers]),
+ [if test "$enableval" = no ; then
AC_DEFINE(DISABLE_KEYSERVER_PATH,1,[define to disable exec-path for keyserver helpers])
- fi],enableval=yes)
+ fi],enableval=yes)
AC_MSG_RESULT($enableval)
fi
@@ -591,6 +594,16 @@
# LDAPLIBS="-Lfoo -lbar"
if test "$try_ldap" = yes ; then
+
+ AC_ARG_WITH(ldap,
+ AC_HELP_STRING([--with-ldap=DIR],[look for the LDAP library in DIR]),
+ [
+ if test -d "$withval" ; then
+ CPPFLAGS="${CPPFLAGS} -I$withval/include"
+ LDFLAGS="${LDFLAGS} -L$withval/lib"
+ fi
+ ])
+
for MY_LDAPLIBS in ${LDAPLIBS+"$LDAPLIBS"} "-lldap" "-lldap -llber" "-lldap -llber -lresolv" "-lwldap32"; do
_ldap_save_libs=$LIBS
LIBS="$MY_LDAPLIBS $NETLIBS $LIBS"
@@ -1040,8 +1053,9 @@
AC_MSG_CHECKING([whether regular expression support is requested])
AC_ARG_ENABLE(regex,
-[ --disable-regex do not handle regular expressions in trust sigs],
- use_regex=$enableval, use_regex=yes)
+ AC_HELP_STRING([--disable-regex],
+ [do not handle regular expressions in trust signatures]),
+ use_regex=$enableval, use_regex=yes)
AC_MSG_RESULT($use_regex)
if test "$use_regex" = yes ; then
More information about the Gnupg-commits
mailing list