aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-12-18 16:06:39 +0000
committerWerner Koch <[email protected]>2015-12-18 16:10:55 +0000
commitaf142854a73567836a0ca44ad62900469c23d531 (patch)
tree8ee6a13ded9779cbd7fee3a0361b7fc058433267
parentg10: Fix commit b30c15bf. (diff)
downloadgnupg-af142854a73567836a0ca44ad62900469c23d531.tar.gz
gnupg-af142854a73567836a0ca44ad62900469c23d531.zip
build: Add required macro for pkg-config
* configure.ac (PKG_PROG_PKG_CONFIG): New. -- GnuPG-bug-id: 2197
Diffstat (limited to '')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5a75e5080..77487b23c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -589,6 +589,7 @@ AC_ISC_POSIX
AC_SYS_LARGEFILE
GNUPG_CHECK_USTAR
+
# We need to compile and run a program on the build machine. A
# comment in libgpg-error says that the AC_PROG_CC_FOR_BUILD macro in
# the AC archive is broken for autoconf 2.57. Given that there is no
@@ -604,6 +605,9 @@ fi
AC_MSG_RESULT($CC_FOR_BUILD)
AC_ARG_VAR(CC_FOR_BUILD,[build system C compiler])
+# We need to call this macro because other pkg-config macros are
+# not always used.
+PKG_PROG_PKG_CONFIG
try_gettext=yes