summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f474eb4..7b5a453 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@ AC_ARG_WITH([lua],
AS_HELP_STRING([--with-lua], [Specify lua pkg-config name (default is 'lua')]))
AS_IF([test "x$with_lua" = "xyes"], [with_lua=lua])
-AS_IF([test "x$with_lua" != "xno"], [
+AS_IF([test "x$with_lua" != "xno" -a "x$with_lua" != "x"], [
luashell=true
luacshell=true
ac_report_have_lua=enabled