diff options
author | alwin@zeckescompany.nl <alwin@zeckescompany.nl> | 2005-03-11 21:07:56 +0000 |
---|---|---|
committer | alwin@zeckescompany.nl <alwin@zeckescompany.nl> | 2005-03-11 21:07:56 +0000 |
commit | 6f3456774eeb819e7ec4942b3a35df9c0b12c37a (patch) | |
tree | 4f04eeddc040fe08a2f0a2c4ecbbf700064b3e9c /packages/libetpan/libetpan-0.36 | |
parent | 243e93c1e6d78c34ed7ee5338adf6a4b06daf13b (diff) |
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
Diffstat (limited to 'packages/libetpan/libetpan-0.36')
-rw-r--r-- | packages/libetpan/libetpan-0.36/etpan_configure.patch | 55 | ||||
-rw-r--r-- | packages/libetpan/libetpan-0.36/gnutls.patch | 0 |
2 files changed, 55 insertions, 0 deletions
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 --- /dev/null +++ b/packages/libetpan/libetpan-0.36/gnutls.patch |