Correction lua header

This commit is contained in:
Minasu
2017-11-17 09:54:43 +01:00
committed by Felipe Zimmerle
parent 9c0ed6109d
commit af7e6ee169

View File

@@ -129,11 +129,11 @@ AC_DEFUN([CHECK_FOR_LUA_AT], [
break break
fi fi
done done
if test -e "${path}/include/fuzzy.h"; then if test -e "${path}/include/lua.h"; then
lua_inc_path="${path}/include" lua_inc_path="${path}/include"
elif test -e "${path}/fuzzy.h"; then elif test -e "${path}/lua.h"; then
lua_inc_path="${path}" lua_inc_path="${path}"
elif test -e "${path}/include/fuzzy/fuzzy.h"; then elif test -e "${path}/include/lua/lua.h"; then
lua_inc_path="${path}/include" lua_inc_path="${path}/include"
fi fi