aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure b/configure
index 8fef5213..2be69a68 100755
--- a/configure
+++ b/configure
@@ -279,9 +279,16 @@ if [ -f "$lua_h" ]
279then 279then
280 echo "lua.h found in $lua_h" 280 echo "lua.h found in $lua_h"
281else 281else
282 echo "lua.h not found (looked in $lua_h)" 282 LUA_INCDIR="$LUA_INCDIR/lua5.1"
283 echo "You may want to use the flag --with-lua-include. See --help." 283 d_lua_h="$LUA_INCDIR/lua.h"
284 exit 1 284 if [ -f "$d_lua_h" ]
285 then
286 echo "lua.h found in $d_lua_h (Debian/Ubuntu)"
287 else
288 echo "lua.h not found (looked in $lua_h)"
289 echo "You may want to use the flag --with-lua-include. See --help."
290 exit 1
291 fi
285fi 292fi
286 293
287if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ] 294if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ]