aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-09-03 20:25:42 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-09-03 20:25:42 -0300
commit91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e (patch)
treecc18fbe908f3d45309face0decb7a7b851861014 /configure
parented0524aa4f0d3875e9882ea745812bd27d3fb3be (diff)
downloadluarocks-91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e.tar.gz
luarocks-91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e.tar.bz2
luarocks-91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e.zip
Add extra check for Debian-based systems...
Diffstat (limited to 'configure')
-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