diff options
Diffstat (limited to 'data/gnupg2/gnupth.diff')
-rw-r--r-- | data/gnupg2/gnupth.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/data/gnupg2/gnupth.diff b/data/gnupg2/gnupth.diff new file mode 100644 index 000000000..aa46248cb --- /dev/null +++ b/data/gnupg2/gnupth.diff @@ -0,0 +1,28 @@ +diff -r -u gnupg-2.0.8/m4/gnupg-pth.m4 gnupg-2.0.8+iPhone/m4/gnupg-pth.m4 +--- gnupg-2.0.8/m4/gnupg-pth.m4 2007-05-30 10:40:00.000000000 +0000 ++++ gnupg-2.0.8+iPhone/m4/gnupg-pth.m4 2008-01-01 11:49:03.000000000 +0000 +@@ -51,9 +51,9 @@ + _gnupg_pth_save_cflags=$CFLAGS + _gnupg_pth_save_ldflags=$LDFLAGS + _gnupg_pth_save_libs=$LIBS +- CFLAGS="$CFLAGS `$PTH_CONFIG --cflags`" +- LDFLAGS="$LDFLAGS `$PTH_CONFIG --ldflags`" +- LIBS="$LIBS `$PTH_CONFIG --libs --all`" ++ CFLAGS= ++ LDFLAGS= ++ LIBS=-lpth + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pth.h> + ], + [[ pth_init ();]])], +@@ -92,9 +92,8 @@ + if test "$PTH_CONFIG" != "no"; then + GNUPG_PTH_VERSION_CHECK($tmp) + if test $have_pth = yes; then +- PTH_CFLAGS=`$PTH_CONFIG --cflags` +- PTH_LIBS=`$PTH_CONFIG --ldflags` +- PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`" ++ PTH_CFLAGS= ++ PTH_LIBS=-lpth + AC_DEFINE(HAVE_PTH, 1, + [Defined if the GNU Pth is available]) + fi |