libassuan 0.9.3 released

Werner Koch wk at gnupg.org
Tue Oct 10 12:46:12 CEST 2006


Hi,

I have just released libassuan 0.9.3:

 ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.9.3.bz2
 ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.9.3.bz2.sig

with these changes:

 * Portability fixes.

 * Pth is not anymore linked by means of weak symbol tricks.  It is
   now required to link to the pth version of libassuan.  New aufoconf
   macros are provided to to check for this.  The pth version is only
   build if Pth is available.

 * configure does now check that descriptor passing is available.  A
   way to check at runtime for this is also provided

Unfortunately I realized to late that the autoconf macro libassuan.m4
was broken.  Either use the one from gnupg's SVN or apply the attached
fix.

The major change is that we build wto libs: libassuan.a and
libassuan-pth.a.  The configure macros (or just libassuan-config) take
care of this.  See the GnuPG code from SVN to see how this can be done.



Salam-Shalom,

   Werner


-------------- next part --------------
Index: src/libassuan.m4
===================================================================
--- src/libassuan.m4    (revision 218)
+++ src/libassuan.m4    (working copy)
@@ -125,8 +125,8 @@
 AC_DEFUN([AM_PATH_LIBASSUAN_PTH],
 [ _AM_PATH_LIBASSUAN_COMMON($1,pth)
   if test $ok = yes; then
-    LIBASSUAN_PTH_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
-    LIBASSUAN_PTH_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
+    LIBASSUAN_PTH_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pth --cflags`
+    LIBASSUAN_PTH_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pth --libs`
     ifelse([$2], , :, [$2])
   else
     LIBASSUAN_PTH_CFLAGS=""
@@ -146,8 +146,8 @@
 AC_DEFUN([AM_PATH_LIBASSUAN_PTHREAD],
 [ _AM_PATH_LIBASSUAN_COMMON($1,pth)
   if test $ok = yes; then
-    LIBASSUAN_PTHREAD_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
-    LIBASSUAN_PTHREAD_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
+    LIBASSUAN_PTHREAD_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pthread --cflags`
+    LIBASSUAN_PTHREAD_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pthread --libs`
     ifelse([$2], , :, [$2])
   else
     LIBASSUAN_PTHREAD_CFLAGS=""
Index: configure.ac


More information about the Gnupg-devel mailing list