diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | configure.ac | 11 |
4 files changed, 26 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-12-19 Werner Koch <wk@gnupg.org> + + * configure.ac (have_pthread): Check for pthreads in libc. + (have_ld_version_script): New. + 2002-11-10 Werner Koch <wk@gnupg.org> * configure.ac (MODULES_IN_CIPHER): Add md4.c. By Simon Josefsson. @@ -1,6 +1,13 @@ Noteworthy changes in version 1.1.11 (unreleased) ------------------------------------------------- + * Don't export internal symbols anymore (only on GNU systems) + + * New algorithm: MD4 + + * Smaller bugs fixes and a few new OIDs. + + Noteworthy changes in version 1.1.10 (2002-09-20) ------------------------------------------------- @@ -11,3 +11,7 @@ * Allow operation using RSA keys consisting of the OpenSSL list of parameters and allow for a third form where the private Exponent is not given (saves space). + +* Add a warning to the manual, to check that libgcrypt actually has + been compiled with thread support wehen used by a trhersded + application. diff --git a/configure.ac b/configure.ac index d827ad5a..36fb8842 100644 --- a/configure.ac +++ b/configure.ac @@ -253,7 +253,9 @@ GNUPG_CHECK_PIC # try_dynload=no #fi - +# For now we hardcode the use of version scripts. It would be better +# to write a text for this or even implement this within libtool +have_ld_version_script=no case "${target}" in *-*-mingw32*) PRINTABLE_OS_NAME="MingW32" @@ -267,10 +269,12 @@ case "${target}" in ;; *-linux*) PRINTABLE_OS_NAME="GNU/Linux" + have_ld_version_script=yes ;; dnl let that after linux to avoid gnu-linux problems *-gnu*) PRINTABLE_OS_NAME="GNU/Hurd" + have_ld_version_script=yes ;; *) PRINTABLE_OS_NAME=`uname -s || echo "Unknown"` @@ -278,6 +282,8 @@ dnl let that after linux to avoid gnu-linux problems esac AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME", [A human readable text with the name of the OS]) +AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes") + dnl Fixme: Are these the best flags for OpenBSD???? case "${target}" in @@ -395,6 +401,9 @@ if test "$have_pth" = yes; then AC_DEFINE(HAVE_PTH, ,[Define if we have Pth.]) fi AC_CHECK_LIB(pthread,pthread_create,have_pthread=yes) +if test "$have_pthread" != yes; then + AC_CHECK_LIB(c,pthread_create,have_pthread=yes) +fi if test "$have_pthread" = yes; then AC_DEFINE(HAVE_PTHREAD, ,[Define if we have pthread.]) fi |