aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure b/configure
index f00f7bc7..f40a2df8 100755
--- a/configure
+++ b/configure
@@ -333,10 +333,17 @@ else
333 d_lua_h="$LUA_INCDIR/lua.h" 333 d_lua_h="$LUA_INCDIR/lua.h"
334 if [ -f "$d_lua_h" ] 334 if [ -f "$d_lua_h" ]
335 then 335 then
336 echo "lua.h found in $d_lua_h (Debian/Ubuntu)" 336 echo "lua.h found in $d_lua_h"
337 else 337 else
338 echo "lua.h not found (looked in $lua_h)" 338 LUA_INCDIR="$LUA_INCDIR/lua$LUA_VERSION"
339 die "You may want to use the flag --with-lua-include. See --help." 339 d_lua_h="$LUA_INCDIR/lua.h"
340 if [ -f "$d_lua_h" ]
341 then
342 echo "lua.h found in $d_lua_h (Debian/Ubuntu)"
343 else
344 echo "lua.h not found (looked in $lua_h)"
345 die "You may want to use the flag --with-lua-include. See --help."
346 fi
340 fi 347 fi
341fi 348fi
342 349