diff options
author | daurnimator <quae@daurnimator.com> | 2018-08-05 22:49:09 +1000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-08-13 00:25:28 -0300 |
commit | ba3b3b9a162006d48b3923422affb4a6552763b7 (patch) | |
tree | 872e105103a05687162a8955ac1767a80050e7a0 | |
parent | 92d8946ed587d2f6fe8a7e81b6aff8e7d3138fc4 (diff) | |
download | luarocks-ba3b3b9a162006d48b3923422affb4a6552763b7.tar.gz luarocks-ba3b3b9a162006d48b3923422affb4a6552763b7.tar.bz2 luarocks-ba3b3b9a162006d48b3923422affb4a6552763b7.zip |
configure: Add include path template for FreeBSD style
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -428,6 +428,7 @@ check_incdir() { | |||
428 | for lua_h in \ | 428 | for lua_h in \ |
429 | "$incdir/lua/$LUA_VERSION/lua.h" \ | 429 | "$incdir/lua/$LUA_VERSION/lua.h" \ |
430 | "$incdir/lua$LUA_VERSION/lua.h" \ | 430 | "$incdir/lua$LUA_VERSION/lua.h" \ |
431 | "$incdir/lua$(echo "$LUA_VERSION" | tr -d .)/lua.h" \ | ||
431 | "$incdir/lua.h" \ | 432 | "$incdir/lua.h" \ |
432 | $("$LUA_BINDIR/$LUA_INTERPRETER" -e 'print(jit and [['"$incdir"'/luajit-]]..jit.version:match("(%d+%.%d+)")..[[/lua.h]] or "")') | 433 | $("$LUA_BINDIR/$LUA_INTERPRETER" -e 'print(jit and [['"$incdir"'/luajit-]]..jit.version:match("(%d+%.%d+)")..[[/lua.h]] or "")') |
433 | do | 434 | do |