From: Charles-Henri Bruyand Date: Tue, 24 Apr 2018 06:31:51 +0000 (+0200) Subject: configure: ensure lua is setup when lua records are enabled X-Git-Tag: dnsdist-1.3.1~133^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d292e1bd8caa9e226e3627291988c0a81ac1d39a;p=pdns configure: ensure lua is setup when lua records are enabled --- diff --git a/m4/pdns_with_lua_records.m4 b/m4/pdns_with_lua_records.m4 index c0d537fdb..a3f2419c8 100644 --- a/m4/pdns_with_lua_records.m4 +++ b/m4/pdns_with_lua_records.m4 @@ -9,6 +9,9 @@ AC_DEFUN([PDNS_WITH_LUA_RECORDS], [ AC_MSG_RESULT([$enable_lua_records]) AS_IF([test "x$enable_lua_records" != "xno"], [ + AS_IF([test "x$LUAPC" = "x"], + AC_MSG_ERROR([LUA records need LUA. You can disable this feature with the --disable-lua-records switch or configure a proper LUA installation.]) + ) LIBCURL_CHECK_CONFIG("yes", "7.21.3", [ : ], [ AC_MSG_ERROR([libcurl minimum version requirement not met. This is required for LUA records. You can disable it with the --disable-lua-records switch or use --with-libcurl to select another curl installation.]) ])