]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Do not fail if lua is not found 1691/head
authorAki Tuomi <cmouse@desteem.org>
Mon, 1 Sep 2014 09:43:24 +0000 (12:43 +0300)
committerAki Tuomi <cmouse@desteem.org>
Mon, 1 Sep 2014 09:43:24 +0000 (12:43 +0300)
m4/pdns_with_lua.m4

index 116c267b7556cded9f917cb8e85ffd61c203256d..71edd4bf39f238ba1ad7e2335aaf98f0e0692a46 100644 (file)
@@ -12,7 +12,7 @@ AC_DEFUN([PDNS_WITH_LUA],[
          PKG_CHECK_MODULES([LUA], $LUAPC >= 5.1, [
            AC_DEFINE([HAVE_LUA], [1], [liblua])
            AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
-         ])
+         ], [with_lua=yes]) # otherwise pkg_check will fail
        done
       ],       
       [LUAPC="$with_lua"