From: Ruben Kerkhof Date: Sat, 27 Sep 2014 21:58:43 +0000 (+0200) Subject: Bail out if geoip and yaml libs are not installed X-Git-Tag: auth-3.4.0~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1741%2Fhead;p=thirdparty%2Fpdns.git Bail out if geoip and yaml libs are not installed --- diff --git a/m4/pdns_with_geo.m4 b/m4/pdns_with_geo.m4 index d0bcb6343b..b239356a33 100644 --- a/m4/pdns_with_geo.m4 +++ b/m4/pdns_with_geo.m4 @@ -1,4 +1,8 @@ AC_DEFUN([PDNS_CHECK_GEOIP], [ - PKG_CHECK_MODULES([GEOIP], [geoip]) - PKG_CHECK_MODULES([YAML], [yaml-cpp >= 0.5]) + PKG_CHECK_MODULES([GEOIP], [geoip],[], + AC_MSG_ERROR([Could not find libGeoIP]) + ) + PKG_CHECK_MODULES([YAML], [yaml-cpp >= 0.5],[], + AC_MSG_ERROR([Could not find yaml-cpp]) + ) ])