From: Ruben Kerkhof Date: Mon, 9 Mar 2015 11:59:40 +0000 (+0100) Subject: Warn when pkg.m4 is missing at autoreconf time. X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~53^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2341%2Fhead;p=thirdparty%2Fpdns.git Warn when pkg.m4 is missing at autoreconf time. --- diff --git a/configure.ac b/configure.ac index 4f146f572b..ee6f820faa 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,9 @@ AC_DEFINE([_GNU_SOURCE], [1], [Define _GNU_SOURCE so that we get all necessary prototypes] ) +# Warn when pkg.m4 is missing +m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) + PDNS_WITH_LUAJIT AS_IF([test "x$with_luajit" = "xno"], [ PDNS_WITH_LUA