]> git.ipfire.org Git - location/libloc.git/commitdiff
configure: Check syntax of Lua check
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Mar 2025 14:39:01 +0000 (14:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 Mar 2025 14:39:01 +0000 (14:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
configure.ac

index 8fdefc6936c1e9b4fca45cee08117cf857292509..d573c94c38c367e740bf43f21e6c2f7b08344b9a 100644 (file)
@@ -192,7 +192,7 @@ PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
 AC_ARG_ENABLE(lua,
        AS_HELP_STRING([--disable-lua], [do not build the Lua modules]), [], [enable_lua=yes])
 
-AM_CONDITIONAL(ENABLE_LUA, test "$enable_lua" = "yes")
+AM_CONDITIONAL(ENABLE_LUA, [test "x$enable_lua" = "xyes"])
 
 AS_IF(
        [test "$enable_lua" = "yes"], [