Code

configure.ac: warn when pkg-config is not installed
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 12 Dec 2015 15:43:55 +0000 (16:43 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 17 Dec 2015 09:36:29 +0000 (10:36 +0100)
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 <octo@collectd.org>
configure.ac

index 6cdfcd6fb7b22e11dacf86374f5ba5701005d349..f623263f00463014638773702f3925ad77af6cf7 100644 (file)
@@ -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])