From 0173a8baba2fb3eb87f03931c420c76697dc2f06 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 10 Feb 2018 12:24:17 +0100 Subject: [PATCH] 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). --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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 ## ############################ -- 2.30.2