From: Pieter Lexis Date: Wed, 11 Apr 2018 20:49:32 +0000 (+0200) Subject: Lua detection: make `--with-lua` autodetect X-Git-Tag: dnsdist-1.3.1~158^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6470%2Fhead;p=thirdparty%2Fpdns.git Lua detection: make `--with-lua` autodetect --- diff --git a/m4/pdns_with_lua.m4 b/m4/pdns_with_lua.m4 index e69d0deb8d..3653740e4c 100644 --- a/m4/pdns_with_lua.m4 +++ b/m4/pdns_with_lua.m4 @@ -8,6 +8,12 @@ AC_DEFUN([PDNS_WITH_LUA],[ ], [ with_lua=auto ]) + + AS_IF([test "x$with_lua" = "xyes"], [ + dnl --with-lua was passed, make it auto + with_lua=auto + ]) + AC_MSG_RESULT([$with_lua]) AS_IF([test "x$with_lua" = "xno" -a "$1" = "mandatory"], [