diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2012-09-03 20:25:42 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2012-09-03 20:25:42 -0300 |
commit | 91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e (patch) | |
tree | cc18fbe908f3d45309face0decb7a7b851861014 /configure | |
parent | ed0524aa4f0d3875e9882ea745812bd27d3fb3be (diff) | |
download | luarocks-91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e.tar.gz luarocks-91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e.tar.bz2 luarocks-91600f36fa4eb515cd37d3ba1ef90e71a94d8e5e.zip |
Add extra check for Debian-based systems...
Diffstat (limited to 'configure')
-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 | ||