aboutsummaryrefslogtreecommitdiff
path: root/security/prelude-manager/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/prelude-manager/files/patch-configure.in')
-rw-r--r--security/prelude-manager/files/patch-configure.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/security/prelude-manager/files/patch-configure.in b/security/prelude-manager/files/patch-configure.in
new file mode 100644
index 000000000000..8c62d8992752
--- /dev/null
+++ b/security/prelude-manager/files/patch-configure.in
@@ -0,0 +1,29 @@
+--- configure.in.orig 2008-08-21 14:22:20.000000000 +0200
++++ configure.in 2009-11-09 11:33:23.000000000 +0100
+@@ -86,15 +86,6 @@
+ dnl **************************************************
+ dnl * Check for GnuTLS. *
+ dnl **************************************************
+-AM_PATH_LIBGNUTLS(1.0.17, gnutls=yes, gnutls=no)
+-if test x$gnutls != xyes; then
+- AC_MSG_ERROR(libgnutls is required in order to build prelude-manager.)
+-fi
+-
+-old_LIBS=$LIBS
+-old_CPPFLAGS=$CPPFLAGS
+-LIBS="$LIBGNUTLS_LIBS"
+-CPPFLAGS="$LIBGNUTLS_CFLAGS"
+
+ AC_CHECK_LIB(gnutls, gnutls_priority_init, gnutls_string_priority=yes, gnutls_string_priority=no)
+ if test x$gnutls_string_priority = xyes; then
+@@ -104,9 +95,7 @@
+ AC_CHECK_HEADER(gnutls/gnutls.h, ,
+ AC_MSG_ERROR("libgnutls development headers are required to build libprelude"))
+
+-CPPFLAGS=$old_CPPFLAGS
+-LIBS=$old_LIBS
+-
++AC_SUBST(LIBGNUTLS_CFLAGS,"")
+
+
+ dnl **************************************************