Skip to content

Instantly share code, notes, and snippets.

@brantfaircloth
Created March 13, 2010 06:59
Show Gist options
  • Save brantfaircloth/331172 to your computer and use it in GitHub Desktop.
Save brantfaircloth/331172 to your computer and use it in GitHub Desktop.
climm-r2826.patch
--- configure.ac 2009-05-17 16:06:50.000000000 -0700
+++ ../climm-0.7-patched/configure.ac 2010-01-31 15:32:59.000000000 -0800
@@ -97,7 +97,10 @@
if test "x$ac_arg_use_ssl" != "xno"; then
ac_use_ssl=no
if test "x$ac_arg_use_ssl" != "xopenssl"; then
- AM_PATH_LIBGNUTLS(0.8.8, ac_use_ssl=gnutls)
+ PKG_CHECK_MODULES(LIBGNUTLS, gnutls > 2, ac_use_ssl=gnutls)
+ if test "x$ac_use_ssl" = xno; then
+ AM_PATH_LIBGNUTLS(0.8.8, ac_use_ssl=gnutls)
+ fi
AM_PATH_LIBGCRYPT(, , ac_use_ssl=no)
AC_CHECK_HEADERS([gcrypt.h], , ac_use_ssl=no)
if test "x$ac_use_ssl" = "xgnutls"; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment