From b1582672709204fd2342a50e1d25467d99568199 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 12 Dec 2015 16:43:55 +0100 Subject: [PATCH] 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 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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]) -- 2.11.0