Code

configure.ac: warn when pkg-config is not installed
[collectd.git] / 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])