gnupg (ChangeLog NEWS configure.ac)
cvs user dshaw
cvs at cvs.gnupg.org
Thu Mar 17 04:56:08 CET 2005
Date: Thursday, March 17, 2005 @ 05:09:37
Author: dshaw
Path: /cvs/gnupg/gnupg
Modified: ChangeLog NEWS configure.ac
* configure.ac: Move the LDAP detecting code to m4/ldap.m4.
--------------+
ChangeLog | 4 +++
NEWS | 6 ++---
configure.ac | 66 +++------------------------------------------------------
3 files changed, 11 insertions(+), 65 deletions(-)
Index: gnupg/ChangeLog
diff -u gnupg/ChangeLog:1.244 gnupg/ChangeLog:1.245
--- gnupg/ChangeLog:1.244 Tue Mar 15 16:51:52 2005
+++ gnupg/ChangeLog Thu Mar 17 05:09:37 2005
@@ -1,3 +1,7 @@
+2005-03-16 David Shaw <dshaw at jabberwocky.com>
+
+ * configure.ac: Move the LDAP detecting code to m4/ldap.m4.
+
2005-03-15 Werner Koch <wk at g10code.com>
Released 1.4.1.
Index: gnupg/NEWS
diff -u gnupg/NEWS:1.238 gnupg/NEWS:1.239
--- gnupg/NEWS:1.238 Tue Mar 15 17:28:37 2005
+++ gnupg/NEWS Thu Mar 17 05:09:37 2005
@@ -12,9 +12,9 @@
<http://lists.gnupg.org/pipermail/gnupg-users/2005-January/024408.html>.
* New "import-unusable-sigs" and "export-unusable-sigs" tags for
- --import-options and --export-options. These are off by
- default, and cause GnuPG to not import or export key signatures
- that are not usable (e.g. expired signatures).
+ --import-options and --export-options. These are off by default,
+ which causes GnuPG to not import or export key signatures that
+ are not usable (e.g. expired signatures).
* New experimental HTTP, HTTPS, FTP, and FTPS keyserver helper
that uses the cURL library <http://curl.haxx.se> to retrieve
Index: gnupg/configure.ac
diff -u gnupg/configure.ac:1.136 gnupg/configure.ac:1.137
--- gnupg/configure.ac:1.136 Tue Mar 15 17:28:37 2005
+++ gnupg/configure.ac Thu Mar 17 05:09:37 2005
@@ -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.136 $)dnl
+dnlAC_REVISION($Revision: 1.137 $)dnl
AC_PREREQ(2.59)
min_automake_version="1.9.3"
@@ -443,7 +443,6 @@
AC_ISC_POSIX
AC_SYS_LARGEFILE
AC_PROG_INSTALL
-AC_PROG_LN_S
AC_PROG_AWK
AC_CHECK_PROG(DOCBOOK_TO_MAN, docbook-to-man, yes, no)
AM_CONDITIONAL(HAVE_DOCBOOK_TO_MAN, test "$ac_cv_prog_DOCBOOK_TO_MAN" = yes)
@@ -452,7 +451,6 @@
MPI_OPT_FLAGS=""
-
try_gettext=yes
have_dosish_system=no
need_dlopen=yes
@@ -594,69 +592,13 @@
AC_SUBST(SRVLIBS)
-# 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"
+# Check for LDAP
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"
-
- AC_MSG_CHECKING([whether LDAP via \"$MY_LDAPLIBS\" is present and sane])
- AC_TRY_LINK([
-#ifdef _WIN32
-#include <winsock2.h>
-#include <winldap.h>
-#else
-#include <ldap.h>
-#endif
-],[ldap_open("foobar",1234);],
- [gnupg_cv_func_ldap_init=yes],[gnupg_cv_func_ldap_init=no])
- AC_MSG_RESULT([$gnupg_cv_func_ldap_init])
-
- if test "$gnupg_cv_func_ldap_init" = yes ; then
- LDAPLIBS=$MY_LDAPLIBS
- GPGKEYS_LDAP="gpgkeys_ldap$EXEEXT"
-
- AC_CHECK_FUNCS(ldap_get_option ldap_set_option ldap_start_tls_s)
-
- if test "$ac_cv_func_ldap_get_option" != yes ; then
- AC_MSG_CHECKING([whether LDAP supports ld_errno])
- AC_TRY_LINK([#include <ldap.h>],[LDAP *ldap; ldap->ld_errno;],
- [gnupg_cv_func_ldap_ld_errno=yes],
- [gnupg_cv_func_ldap_ld_errno=no])
- AC_MSG_RESULT([$gnupg_cv_func_ldap_ld_errno])
-
- if test "$gnupg_cv_func_ldap_ld_errno" = yes ; then
- AC_DEFINE(HAVE_LDAP_LD_ERRNO,1,[Define if the LDAP library supports ld_errno])
- fi
- fi
- fi
-
- LIBS=$_ldap_save_libs
-
- if test "$GPGKEYS_LDAP" != "" ; then break; fi
- done
+ GNUPG_CHECK_LDAP($NETLIBS)
fi
-AC_SUBST(GPGKEYS_LDAP)
-AC_SUBST(LDAPLIBS)
-AM_CONDITIONAL(GPGKEYS_LDAP, test "$GPGKEYS_LDAP" != "")
+# Special hack to test curl
AC_ARG_ENABLE(fake-curl,
AC_HELP_STRING([--enable-fake-curl],[enable EXPERIMENTAL no-curl HTTP code]),fake_curl=$enableval,fake_curl=no)
More information about the Gnupg-commits
mailing list