aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 7c593462..88d035a1 100755
--- a/configure
+++ b/configure
@@ -435,11 +435,14 @@ check_incdir() {
435 "$incdir/lua.h" \ 435 "$incdir/lua.h" \
436 $("$LUA_BINDIR/$LUA_INTERPRETER" -e 'print(jit and [['"$incdir"'/luajit-]]..jit.version:match("(%d+%.%d+)")..[[/lua.h]] or "")') 436 $("$LUA_BINDIR/$LUA_INTERPRETER" -e 'print(jit and [['"$incdir"'/luajit-]]..jit.version:match("(%d+%.%d+)")..[[/lua.h]] or "")')
437 do 437 do
438 [ -f "$lua_h" ] && return 438 if [ -f "$lua_h" ]
439 then
440 grep "LUA_VERSION_NUM.*$LUA_VERSION" $lua_h &> /dev/null && return
441 fi
439 tried="$tried $lua_h" 442 tried="$tried $lua_h"
440 done 443 done
441 444
442 echo "$(RED "lua.h not found") (tried$tried)" 445 echo "$(RED "lua.h for Lua $LUA_VERSION not found") (tried$tried)"
443 echo 446 echo
444 echo "If the development files for Lua (headers and libraries)" 447 echo "If the development files for Lua (headers and libraries)"
445 echo "are installed in your system, you may need to use the" 448 echo "are installed in your system, you may need to use the"