From: Ruben Kerkhof Date: Sat, 12 Dec 2015 15:43:55 +0000 (+0100) Subject: configure.ac: warn when pkg-config is not installed X-Git-Tag: collectd-5.5.1~13^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b1582672709204fd2342a50e1d25467d99568199;p=collectd.git configure.ac: warn when pkg-config is not installed It hasn't been optional for a while now. Fixes: checking for rrd.h... no ./configure: 25157: Syntax error: word unexpected (expecting ")") Signed-off-by: Florian Forster --- diff --git a/configure.ac b/configure.ac index 6cdfcd6f..f623263f 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,10 @@ AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_PROG_LEX AC_PROG_YACC + +# Warn when pkg.m4 is missing +m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) + PKG_PROG_PKG_CONFIG AC_CHECK_PROG([have_protoc_c], [protoc-c], [yes], [no])