aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index 15cc21f8..ae2696d2 100755
--- a/configure
+++ b/configure
@@ -361,6 +361,18 @@ else
361 fi 361 fi
362fi 362fi
363 363
364echo_n "Checking if Lua header version matches that of the interpreter... "
365header_version=$(sed -n 's/.*LUA_VERSION_NUM.*5.\(.\).*/5.\1/p' "$lua_h")
366if [ "$header_version" = "$LUA_VERSION" ]
367then
368 echo "yes"
369else
370 echo "no"
371 echo "lua.h version mismatch (interpreter: $LUA_VERSION; lua.h: $header_version)."
372 die "You may want to use the flag --with-lua or --with-lua-include. See --help."
373fi
374
375
364if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ] 376if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ]
365then 377then
366 find_helper "a downloader helper program" curl wget fetch 378 find_helper "a downloader helper program" curl wget fetch