From f2e0773eb5eb0417eed0c7b6e3c10ad7b29dbae8 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 15 Feb 2010 14:55:05 +0100 Subject: [PATCH] configure: Use the full path to luac to support our contrib system. This fixes the build on Mac OS X. This is probably not the best way for non-contrib dependant build, but I don't have any better idea. Feel free to make it works differently. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e640bead2f..3df2b8ae83 100644 --- a/configure.ac +++ b/configure.ac @@ -1620,7 +1620,7 @@ then else 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_CHECK_PROGS(LUAC, luac) + AC_PATH_PROG(LUAC, luac) fi AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"]) -- 2.39.2