From: Gerhard Sittig Date: Sat, 10 Feb 2018 11:24:17 +0000 (+0100) Subject: configure.ac: explicitly require pkg-config related macro X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0173a8baba2fb3eb87f03931c420c76697dc2f06;p=libsigrokdecode.git 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). --- 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 ## ############################