also fix "no" suffix

This commit is contained in:
Antony Dovgal
2015-02-25 15:44:29 +03:00
parent c3b50a5645
commit b95ae16c6f

View File

@@ -30,7 +30,7 @@ if test "$PHP_LUA" != "no"; then
AC_MSG_ERROR(Please reinstall the lua distribution - lua.h should be in <lua-dir>/include/)
fi
if test "$PHP_LUA_VERSION" != "yes"; then
if test "$PHP_LUA_VERSION" != "yes" -a "$PHP_LUA_VERSION" != "no"; then
LUA_LIB_SUFFIX=lua$PHP_LUA_VERSION
else
LUA_LIB_SUFFIX=lua