| 1 | diff -u -r ../luarocks-2.4.3/configure ./configure |
| 2 | --- ../luarocks-2.4.3/configure 2017-09-13 01:46:14.000000000 +0200 |
| 3 | +++ ./configure 2017-10-14 23:43:39.753730578 +0200 |
| 4 | @@ -305,26 +305,6 @@ |
| 5 | } |
| 6 | fi |
| 7 | |
| 8 | -if [ "$lua_interp_found" != "yes" ] |
| 9 | -then |
| 10 | - [ "$LUA_VERSION_SET" ] && { interp="Lua $LUA_VERSION" ;} || { interp="Lua" ;} |
| 11 | - [ "$LUA_DIR_SET" -o "$LUA_BINDIR_SET" ] && { where="$LUA_BINDIR" ;} || { where="\$PATH" ;} |
| 12 | - echo "$interp interpreter not found in $where" |
| 13 | - die "You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help." |
| 14 | -fi |
| 15 | - |
| 16 | -if [ "$LUA_VERSION_SET" = "yes" ] |
| 17 | -then |
| 18 | - echo_n "Checking if $LUA_BINDIR/lua$LUA_SUFFIX is Lua version $LUA_VERSION... " |
| 19 | - if detect_lua_version "$LUA_BINDIR/lua$LUA_SUFFIX" |
| 20 | - then |
| 21 | - echo "yes" |
| 22 | - else |
| 23 | - echo "no" |
| 24 | - die "You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help." |
| 25 | - fi |
| 26 | -fi |
| 27 | - |
| 28 | if [ "$LUA_INCDIR_SET" != "yes" ] |
| 29 | then |
| 30 | LUA_INCDIR="$LUA_DIR/include" |