summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-12-19 11:10:19 +0000
committerWerner Koch <wk@gnupg.org>2002-12-19 11:10:19 +0000
commit8bae1563d7bd2e71588ef3418f61df50df934a81 (patch)
tree6513915da3380096a4f1b64780f01175b28a4d5d
parentb4aded685377530e6419c3e9a7cc7a662e11464c (diff)
downloadlibgcrypt-8bae1563d7bd2e71588ef3418f61df50df934a81.tar.gz
* configure.ac (have_pthread): Check for pthreads in libc.
(have_ld_version_script): New.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS7
-rw-r--r--TODO4
-rw-r--r--configure.ac11
4 files changed, 26 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4de0df8f..660cadf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/NEWS b/NEWS
index 5ffa7e41..4bbbb53c 100644
--- a/NEWS
+++ b/NEWS
@@ -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)
-------------------------------------------------
diff --git a/TODO b/TODO
index d43ea235..6eb6d9d8 100644
--- a/TODO
+++ b/TODO
@@ -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