summaryrefslogtreecommitdiff
path: root/data/gnupg2/gnupth.diff
blob: aa46248cb8bbe906965c31757e673a1e5aef7521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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