From 129cd5c61a47a4816f9550a00c204aea4c561fc1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Fri, 16 Apr 2010 20:33:49 +0300 Subject: [PATCH] LUAC: fix error detection --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 651e174a3b..aea59d6609 100644 --- a/configure.ac +++ b/configure.ac @@ -1631,7 +1631,8 @@ then AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.]) fi AC_ARG_VAR([LUAC], [LUA byte compiler]) - AC_PATH_PROG(LUAC, luac, [ + AC_PATH_PROG(LUAC, luac, [false]) + AS_IF([test "${ac_cv_path_LUAC}" = "false"], [ AC_MSG_ERROR([Could not find the LUA byte compiler.]) ]) fi -- 2.39.2