summaryrefslogtreecommitdiffstats
path: root/cluster/csync2/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/csync2/configure.patch')
-rw-r--r--cluster/csync2/configure.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/cluster/csync2/configure.patch b/cluster/csync2/configure.patch
new file mode 100644
index 0000000000..acfe4cc749
--- /dev/null
+++ b/cluster/csync2/configure.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2007-07-25 01:04:19.000000000 +0400
++++ configure.ac 2011-01-14 03:24:10.930926931 +0300
+@@ -60,7 +60,7 @@
+ then
+
+ # Check for gnuTLS.
+- AM_PATH_LIBGNUTLS(1.0.0, , [ AC_MSG_ERROR([[gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]]) ])
++ PKG_CHECK_MODULES(gnutls, gnutls >= 1.0.0, , [ AC_MSG_ERROR([[gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]]) ])
+
+ # This is a bloody hack for fedora core
+ CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"