From 6f3456774eeb819e7ec4942b3a35df9c0b12c37a Mon Sep 17 00:00:00 2001 From: "alwin@zeckescompany.nl" Date: Fri, 11 Mar 2005 21:07:56 +0000 Subject: Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into zeckescompany.nl:/home/ral/progs/Zaurus/oe/openembedded 2005/03/11 22:07:26+01:00 zeckescompany.nl!alwin try to get libetpan gnutls ready. It doesn't work this moment on ARM platforms so openssl is default BKrev: 423208acRY3QQy8e70AUIRKk4c-zNg --- .../libetpan/libetpan-0.36/etpan_configure.patch | 55 ++++++++++++++++++++++ packages/libetpan/libetpan-0.36/gnutls.patch | 0 2 files changed, 55 insertions(+) create mode 100644 packages/libetpan/libetpan-0.36/gnutls.patch (limited to 'packages/libetpan/libetpan-0.36') diff --git a/packages/libetpan/libetpan-0.36/etpan_configure.patch b/packages/libetpan/libetpan-0.36/etpan_configure.patch index e69de29bb2..3572339010 100644 --- a/packages/libetpan/libetpan-0.36/etpan_configure.patch +++ b/packages/libetpan/libetpan-0.36/etpan_configure.patch @@ -0,0 +1,55 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- libetpan/configure.in~etpan_configure 2005-03-10 10:11:29.000000000 +0100 ++++ libetpan/configure.in 2005-03-11 13:57:00.232491234 +0100 +@@ -76,6 +76,38 @@ + esac + fi + ++dnl GNUTLS ++AC_ARG_WITH(gnutls, [ --with-gnutls[=DIR] include GnuTLS support (default=no)], ++ [], [with_gnutls=no]) ++if test "x$with_gnutls" != "xno"; then ++ OCPPFLAGS="$CPPFLAGS" ++ OLDFLAGS="$LDFLAGS" ++ if test "x$with_gnutls" != "xyes" ; then ++ CPPFLAGS="CRPPFLAGS -I$with_gnutls/include" ++ LDFLAGS="$LDFLAGS -L$with_gnutls/lib" ++ fi ++ GNUTLSLIBS="" ++ AC_CHECK_HEADER(gnutls/gnutls.h, [ ++ AC_CHECK_LIB(gnutls, gnutls_global_deinit, with_gnutls=yes,[GNUTLSLIBS="-lgnutls -lgnutls-openssl"]) ++ ]) ++ if test "x$with_gnutls" != "xyes"; then ++ CPPFLAGS="$OCPPFLAGS" ++ LDFLAGS="$OLDFLAGS" ++ else ++ with_openssl="no" ++ fi ++fi ++ ++if test "x$with_gnutls" = "xyes"; then ++ AC_DEFINE([USE_GNUTLS],1, [Define to use GnuTLS]) ++ AC_DEFINE([USE_SSL], 1, [Define to use OpenSSL]) ++ GNUTLSLIBS="-lgnutls -lgnutls-openssl" ++else ++ AC_MSG_WARN([GnuTLS support disabled.]) ++ GNUTLSLIBS="" ++fi ++AC_SUBST(GNUTLSLIBS) ++ + dnl OpenSSL -- very primitive right now + AC_ARG_WITH(openssl, [ --with-openssl[=DIR] include OpenSSL support (default=auto)], + [], [with_openssl=yes]) +@@ -336,7 +368,7 @@ + REENTRANT=1 + else + REENTRANT=0 +- LIBSUFFIX=-no-mt ++ LIBSUFFIX= + fi + AC_SUBST(LIBSUFFIX) + AC_SUBST(REENTRANT) diff --git a/packages/libetpan/libetpan-0.36/gnutls.patch b/packages/libetpan/libetpan-0.36/gnutls.patch new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3