diff options
Diffstat (limited to 'dev-cpp/commoncpp2/files/1.5.1-ssl_config.patch')
-rw-r--r-- | dev-cpp/commoncpp2/files/1.5.1-ssl_config.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-cpp/commoncpp2/files/1.5.1-ssl_config.patch b/dev-cpp/commoncpp2/files/1.5.1-ssl_config.patch new file mode 100644 index 000000000000..675e99960721 --- /dev/null +++ b/dev-cpp/commoncpp2/files/1.5.1-ssl_config.patch @@ -0,0 +1,29 @@ +--- configure.ac.orig 2006-10-22 18:02:57.000000000 +0200 ++++ configure.ac 2006-10-22 18:06:17.000000000 +0200 +@@ -247,6 +247,7 @@ + ost_cv_extras=yes + AC_DEFINE(HAVE_EXTRAS, [1], [Enable extras]) + ++ AC_ARG_WITH(gnutls, [ --with-gnutls Enable gnutls support], [ + AC_CHECK_HEADER(gnutls/gnutls.h,[ + AC_CHECK_LIB(gnutls, gnutls_init, [ + SSL_LIBS="-lgnutls -lgcrypt" +@@ -254,13 +255,12 @@ + AC_DEFINE(CCXX_SSL, [GNUTLS], [defines ssl]) + AC_DEFINE(CCXX_GNUTLS, [1], [define gnutls]) + ]) +- +- ],[ +- AC_ARG_WITH(openssl, [ --with-openssl Enable openssl support], +- [OST_LIB_SSL], +- [OST_LIB_NOSSL]) ++ ],[]) ++ ], [ ++ AC_ARG_WITH(openssl, [ --with-openssl Enable openssl support], ++ [OST_LIB_SSL], ++ [OST_LIB_NOSSL]) + ]) +- + AC_ARG_WITH(compression, [ --without-compression Disable libz compression], + [OST_LIB_NOZLIB], + [OST_LIB_ZLIB]) |