Missing commit for pth config check?
Brad Hards
bradh at frogmouth.net
Thu Mar 16 10:42:00 CET 2006
the new gcryptrnd application (daemon?) won't compile (with or without pth)
However there is no ./configure check that checks pth is available. I started
to write a check, but then noticed that most of it is there. Is there just a
missing check like:
Index: src/Makefile.am
===================================================================
--- src/Makefile.am (revision 1149)
+++ src/Makefile.am (working copy)
@@ -25,7 +25,9 @@
include_HEADERS = gcrypt.h gcrypt-module.h
lib_LTLIBRARIES = libgcrypt.la
-sbin_PROGRAMS = gcryptrnd
+if HAVE_PTH
+ sbin_PROGRAMS = gcryptrnd
+endif
bin_PROGRAMS = getrandom
if HAVE_LD_VERSION_SCRIPT
Index: configure.ac
===================================================================
--- configure.ac (revision 1149)
+++ configure.ac (working copy)
@@ -437,6 +437,9 @@
[AC_SEARCH_LIBS(setsockopt, [socket], , , [-lnsl])])
AC_SEARCH_LIBS(setsockopt, [nsl])
+AC_CHECK_PTH(2.0.6,,,,have_pth=yes,)
+AM_CONDITIONAL(HAVE_PTH, test x$have_pth = xyes)
+
##################################
#### Checks for header files. ####
##################################
Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20060316/1c5ef852/attachment.pgp
More information about the Gcrypt-devel
mailing list