mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
* NEWS: Document --gnupg and the deprecation of --no-openpgp and
--no-pgpX. * configure.ac: Put wsock32 in NETLIBS. Put zlib in ZLIBS. Put dl in DLLIBS. Check for getopt.h if available. Look for getopt() in libiberty if libc doesn't have it. Enable GPGKEYS_HKP after AC_PROG_CC so that any needed extension (i.e. ".exe") is defined.
This commit is contained in:
parent
b54375f552
commit
432efe5993
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2003-05-28 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* NEWS: Document --gnupg and the deprecation of --no-openpgp and
|
||||
--no-pgpX.
|
||||
|
||||
* configure.ac: Put wsock32 in NETLIBS. Put zlib in ZLIBS. Put
|
||||
dl in DLLIBS. Check for getopt.h if available. Look for getopt()
|
||||
in libiberty if libc doesn't have it. Enable GPGKEYS_HKP after
|
||||
AC_PROG_CC so that any needed extension (i.e. ".exe") is defined.
|
||||
|
||||
2003-05-21 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* configure.ac: Edit preprocessor instructions in g10defs.h to
|
||||
|
6
NEWS
6
NEWS
@ -1,6 +1,12 @@
|
||||
Noteworthy changes in version 1.2.3 (unreleased)
|
||||
------------------------------------------------
|
||||
|
||||
* New "--gnupg" option (set by default) that disables --openpgp,
|
||||
and the various --pgpX emulation options. This replaces
|
||||
--no-openpgp, and --no-pgpX, and also means that GnuPG has now
|
||||
grown a --gnupg option to make GnuPG act like GnuPG.
|
||||
|
||||
|
||||
Noteworthy changes in version 1.2.2 (2003-05-01)
|
||||
------------------------------------------------
|
||||
|
||||
|
42
configure.ac
42
configure.ac
@ -219,11 +219,6 @@ if test "$use_exec" = yes ; then
|
||||
try_hkp=$enableval, try_hkp=no)
|
||||
AC_MSG_RESULT($try_hkp)
|
||||
|
||||
if test "$try_hkp" = yes ; then
|
||||
GPGKEYS_HKP="gpgkeys_hkp$EXEEXT"
|
||||
AC_DEFINE(USE_EXTERNAL_HKP,1,[define to use the experimental external HKP keyserver interface])
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether email keyserver support is requested])
|
||||
AC_ARG_ENABLE(mailto,
|
||||
[ --disable-mailto disable email keyserver interface],
|
||||
@ -373,6 +368,12 @@ AM_CONDITIONAL(HAVE_DOSISH_SYSTEM, test "$have_dosish_system" = yes)
|
||||
AC_SUBST(MPI_OPT_FLAGS)
|
||||
GNUPG_SYS_SYMBOL_UNDERSCORE
|
||||
|
||||
dnl This needs to go after AC_PROG_CC so that $EXEEXT is defined
|
||||
if test "$try_hkp" = yes ; then
|
||||
GPGKEYS_HKP="gpgkeys_hkp$EXEEXT"
|
||||
AC_DEFINE(USE_EXTERNAL_HKP,1,[define to use the experimental external HKP keyserver interface])
|
||||
fi
|
||||
|
||||
dnl Must check for network library requirements before doing link tests
|
||||
dnl for ldap, for example. If ldap libs are static (or dynamic and without
|
||||
dnl ELF runtime link paths), then link will fail and LDAP support won't
|
||||
@ -520,31 +521,23 @@ else
|
||||
AC_SUBST(BUILD_INCLUDED_LIBINTL)
|
||||
fi
|
||||
|
||||
|
||||
if test "$try_dynload" = yes ; then
|
||||
AC_CHECK_LIB(dl,dlopen)
|
||||
if test "$ac_cv_lib_dl_dlopen" = "yes"; then
|
||||
AC_DEFINE(USE_DYNAMIC_LINKING,1,
|
||||
[define to enable the use of extensions])
|
||||
AC_CHECK_FUNC(dlopen,,AC_CHECK_LIB(dl,dlopen,found_dlopen=yes))
|
||||
if test x"$found_dlopen" = "xyes" ; then
|
||||
AC_DEFINE(USE_DYNAMIC_LINKING,1,[define to enable the use of extensions])
|
||||
AC_DEFINE(HAVE_DL_DLOPEN,1,
|
||||
[Defined when the dlopen function family is available])
|
||||
else
|
||||
AC_CHECK_FUNCS(dlopen)
|
||||
if test "$ac_cv_func_dlopen" = "yes"; then
|
||||
AC_DEFINE(USE_DYNAMIC_LINKING)
|
||||
AC_DEFINE(HAVE_DL_DLOPEN)
|
||||
fi
|
||||
AC_SUBST(DLLIBS,"-ldl")
|
||||
fi
|
||||
else
|
||||
AC_MSG_CHECKING(for dynamic loading)
|
||||
DYNLINK_LDFLAGS=
|
||||
DYNLINK_MOD_CFLAGS=
|
||||
AC_MSG_RESULT(has been disabled)
|
||||
fi
|
||||
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(unistd.h langinfo.h termio.h locale.h)
|
||||
AC_CHECK_HEADERS(unistd.h langinfo.h termio.h locale.h getopt.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
@ -612,6 +605,9 @@ AC_CHECK_FUNCS(atexit raise getpagesize strftime nl_langinfo setlocale)
|
||||
AC_CHECK_FUNCS(waitpid wait4 sigaction sigprocmask rand pipe stat)
|
||||
AC_REPLACE_FUNCS(mkdtemp)
|
||||
|
||||
dnl see if getopt is in libiberty
|
||||
AC_CHECK_FUNC(getopt,,AC_CHECK_LIB(iberty,getopt,AC_SUBST(GETOPT,"-liberty")))
|
||||
|
||||
#
|
||||
# check for gethrtime and run a testprogram to see whether
|
||||
# it is broken. It has been reported that some Solaris and HP UX systems
|
||||
@ -816,7 +812,7 @@ else
|
||||
AC_CHECK_HEADER(zlib.h,
|
||||
AC_CHECK_LIB(z, deflateInit2_,
|
||||
use_local_zlib=no
|
||||
LIBS="$LIBS -lz",
|
||||
ZLIBS="-lz",
|
||||
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}),
|
||||
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags})
|
||||
fi
|
||||
@ -827,7 +823,6 @@ if test "$use_local_zlib" = yes ; then
|
||||
ZLIBS="../zlib/libzlib.a"
|
||||
else
|
||||
AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, false)
|
||||
ZLIBS=
|
||||
fi
|
||||
AC_SUBST(ZLIBS)
|
||||
|
||||
@ -856,12 +851,13 @@ GNUPG_CHECK_GNUMAKE
|
||||
# mysterious reasons - the final link step should bail out.
|
||||
case "${target}" in
|
||||
*-*-mingw32*)
|
||||
LIBS="$LIBS -lwsock32"
|
||||
NETLIBS="$NETLIBS -lwsock32"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(NETLIBS)
|
||||
|
||||
if test "$GCC" = yes; then
|
||||
if test "$USE_MAINTAINER_MODE" = "yes"; then
|
||||
@ -871,8 +867,6 @@ if test "$GCC" = yes; then
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(NETLIBS)
|
||||
|
||||
|
||||
if test "$print_egd_warning" = yes; then
|
||||
AC_MSG_WARN([[
|
||||
|
Loading…
x
Reference in New Issue
Block a user