summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-02-10 12:24:17 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-02-10 15:25:52 +0100
commit0173a8baba2fb3eb87f03931c420c76697dc2f06 (patch)
treebb37d9bfbc08bdc2e7f382148976d06042d4b2f6 /configure.ac
parent15a8a05595c72d328abdea8e3b23f1b558cc46bf (diff)
downloadlibsigrokdecode-0173a8baba2fb3eb87f03931c420c76697dc2f06.tar.gz
libsigrokdecode-0173a8baba2fb3eb87f03931c420c76697dc2f06.zip
configure.ac: explicitly require pkg-config related macro
Make sure the PKG_PROG_PKG_CONFIG macro has become available before it gets used. This unbreaks configuration in the poky environment (rocko).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 80536f8..d03f983 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,10 @@ SR_LIB_VERSION_SET([SRD_LIB_VERSION], [4:0:0])
AM_CONDITIONAL([WIN32], [test -z "${host_os##mingw*}" || test -z "${host_os##cygwin*}"])
+# Initialize pkg-config.
+# We require at least 0.22, as "Requires.private" behaviour changed there.
+PKG_PROG_PKG_CONFIG
+
############################
## Package dependencies ##
############################