diff options
-rwxr-xr-x | configure | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |
341 | fi | 348 | fi |
342 | 349 | ||