From d292e1bd8caa9e226e3627291988c0a81ac1d39a Mon Sep 17 00:00:00 2001 From: Charles-Henri Bruyand Date: Tue, 24 Apr 2018 08:31:51 +0200 Subject: [PATCH] configure: ensure lua is setup when lua records are enabled --- m4/pdns_with_lua_records.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/pdns_with_lua_records.m4 b/m4/pdns_with_lua_records.m4 index c0d537fdb4..a3f2419c87 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.]) ]) -- 2.47.2