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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad1253f3c3e7d59ce0a87dab1a031243a81c3bba;p=pdns 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 d0bcb6343..b239356a3 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]) + ) ])