On Tue, Mar 5, 2013 at 6:49 PM, Hisham <[email protected]> wrote:
>    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"
>    else
>       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)"

After the first test, LUA_INCDIR has been reset, so the second test
builds on that.  So (e.g) it checks /usr/include/lua/5.1 and then
checks /usr/include/lua/5.1/lua51.  (Was only obvious to me once I ran
it, of course ;))

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to