From 91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 3 Sep 2012 20:25:42 -0300 Subject: Add extra check for Debian-based systems... --- configure | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index f00f7bc7..f40a2df8 100755 --- a/configure +++ b/configure @@ -333,10 +333,17 @@ else d_lua_h="$LUA_INCDIR/lua.h" if [ -f "$d_lua_h" ] then - echo "lua.h found in $d_lua_h (Debian/Ubuntu)" + echo "lua.h found in $d_lua_h" else - echo "lua.h not found (looked in $lua_h)" - die "You may want to use the flag --with-lua-include. See --help." + LUA_INCDIR="$LUA_INCDIR/lua$LUA_VERSION" + d_lua_h="$LUA_INCDIR/lua.h" + if [ -f "$d_lua_h" ] + then + echo "lua.h found in $d_lua_h (Debian/Ubuntu)" + else + echo "lua.h not found (looked in $lua_h)" + die "You may want to use the flag --with-lua-include. See --help." + fi fi fi -- cgit v1.2.3-55-g6feb