diff options
Diffstat (limited to 'net-analyzer/echoping/files/echoping-6.0.2-gnutls.patch')
-rw-r--r-- | net-analyzer/echoping/files/echoping-6.0.2-gnutls.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/net-analyzer/echoping/files/echoping-6.0.2-gnutls.patch b/net-analyzer/echoping/files/echoping-6.0.2-gnutls.patch deleted file mode 100644 index b5be2d989776..000000000000 --- a/net-analyzer/echoping/files/echoping-6.0.2-gnutls.patch +++ /dev/null @@ -1,41 +0,0 @@ -Date: 2009-06-30 14:26 -Sender: bortz - -The patch by ametzler seems indeed to work (thanks to him). I've committed -it (r426) and will make a new release soon. - -http://sourceforge.net/tracker/index.php?func=detail&aid=2811861&group_id=4581&atid=104581 - - ---- trunk/SRC/configure.ac 2009/06/30 14:18:15 425 -+++ trunk/SRC/configure.ac 2009/06/30 14:19:07 426 -@@ -92,14 +92,21 @@ - AC_ARG_WITH(gnutls, - [ --with-gnutls[=DIR] SSL/TLS crypt support (needs GNU TLS), the argument DIR should not be necessary],dnl - [if test "$withval" != "no"; then -- AC_DEFINE(GNUTLS,,[Crypto (TLS) support]) -- GNUTLS=1 -- CPPFLAGS="${CPPFLAGS} `libgnutls-config --cflags`" -- LDFLAGS="${LDFLAGS} `libgnutls-config --libs`" -- if test "$withval" != "yes"; then -- GNUTLSROOT=$withval -- LDFLAGS="${LDFLAGS} -L$GNUTLSROOT/lib" -- CPPFLAGS="${CPPFLAGS} -I$GNUTLSROOT/include" -+ if test "$withval" = "yes"; then -+ PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.0.0], -+ [ -+ echo "GnuTLS found" -+ AC_DEFINE(GNUTLS,,[Crypto (TLS) support]) -+ GNUTLS=1 -+ CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" -+ LIBS="$LIBS $LIBGNUTLS_LIBS" -+ ],) -+ else -+ AC_DEFINE(GNUTLS,,[Crypto (TLS) support]) -+ GNUTLS=1 -+ GNUTLSROOT=$withval -+ LDFLAGS="${LDFLAGS} -L$GNUTLSROOT/lib -lgnutls" -+ CPPFLAGS="${CPPFLAGS} -I$GNUTLSROOT/include" - fi - fi], - dnl Default: disable it |