summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2005-03-03 11:15:07 +0100
committerWerner Koch <wk@gnupg.org>2005-03-03 11:15:07 +0100
commitdf05dde9d59e4ed2a8eefd0a5e285f4930ac7e3a (patch)
treecb373b36872599bb38649501394c204332ca1146 /acinclude.m4
parent2005-03-02 Moritz Schulte <moritz@g10code.com> (diff)
downloadgnupg2-df05dde9d59e4ed2a8eefd0a5e285f4930ac7e3a.tar.xz
gnupg2-df05dde9d59e4ed2a8eefd0a5e285f4930ac7e3a.zip
* acinclude.m4 (GNUPG_PTH_VERSION_CHECK): Accidently used
--ldflags instead of --cflags. Reported by Kazu Yamamoto. * Makefile.am (AM_CFLAGS): Added PTH_CFLAGS. Noted by Kazu Yamamoto. * Makefile.am (gpgsm_LDADD): Added PTH_LIBS. Noted by Kazu Yamamoto.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 31f540640..e933e6ee0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -246,7 +246,7 @@ AC_DEFUN([GNUPG_PTH_VERSION_CHECK],
_gnupg_pth_save_cflags=$CFLAGS
_gnupg_pth_save_ldflags=$LDFLAGS
_gnupg_pth_save_libs=$LIBS
- CFLAGS="$CFLAGS `$PTH_CONFIG --ldflags`"
+ CFLAGS="$CFLAGS `$PTH_CONFIG --cflags`"
LDFLAGS="$LDFLAGS `$PTH_CONFIG --ldflags`"
LIBS="$LIBS `$PTH_CONFIG --libs`"
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pth.h>