[xmlsec] gnutls config problem

Aleksey Sanin aleksey at aleksey.com
Thu Jan 22 16:26:20 PST 2004


Right! Thanks for reporting the bug! The patch bellow is checked in CVS.

Aleksey

Index: configure.in
===================================================================
RCS file: /cvs/gnome/xmlsec/configure.in,v
retrieving revision 1.105
diff -u -r1.105 configure.in
--- configure.in        11 Jan 2004 03:04:25 -0000      1.105
+++ configure.in        23 Jan 2004 00:21:35 -0000
@@ -422,7 +422,9 @@
        PKG_CHECK_MODULES(GNUTLS, libgnutls >= $GNUTLS_MIN_VERSION,
            [GNUTLS_FOUND=yes],
            [GNUTLS_FOUND=no])
-       GNUTLS_CFLAGS="$GNUTLS_CFLAGS -DXMLSEC_GNUTLS_OLD=1"
+       if test "z$GNUTLS_FOUND" = "zyes" ; then
+           GNUTLS_CFLAGS="$GNUTLS_CFLAGS -DXMLSEC_GNUTLS_OLD=1"
+       fi
     fi
 fi
 




More information about the xmlsec mailing list