From b95ae16c6f6b25e5cfa9e9fd2f4139a7681aabc1 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 25 Feb 2015 15:44:29 +0300 Subject: [PATCH] also fix "no" suffix --- config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.m4 b/config.m4 index 094c551..9e9b5e1 100755 --- a/config.m4 +++ b/config.m4 @@ -30,7 +30,7 @@ if test "$PHP_LUA" != "no"; then AC_MSG_ERROR(Please reinstall the lua distribution - lua.h should be in /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