svn: /pecl/lua/trunk/ config.m4

From: Date: Thu, 05 Jan 2012 17:23:48 +0000
Subject: svn: /pecl/lua/trunk/ config.m4
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-17429@lists.php.net to get a copy of this message
laruence Thu, 05 Jan 2012 17:23:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=321796 Log: Fix bug #60641 PECL install lua with lua5.1 packages Bug: https://bugs.php.net/60641 (Closed) PECL install lua with lua5.1 packages Changed paths: U pecl/lua/trunk/config.m4 Modified: pecl/lua/trunk/config.m4 =================================================================== --- pecl/lua/trunk/config.m4 2012-01-05 15:14:04 UTC (rev 321795) +++ pecl/lua/trunk/config.m4 2012-01-05 17:23:48 UTC (rev 321796) @@ -8,7 +8,7 @@ else AC_MSG_CHECKING(for lua in default path) for i in /usr/local /usr; do - if test -r $i/include/lua/include.h; then + if test -r $i/include/lua/lua.h; then LUA_DIR=$i AC_MSG_RESULT(found in $i) break @@ -21,14 +21,14 @@ AC_MSG_ERROR(Please reinstall the lua distribution - lua.h should be in <lua-dir>/include/) fi - LUA_LIB_NAME=lua + LUA_LIB_NAME=liblua.a - if test -r $PHP_LUA/$PHP_LIBDIR/lib${LUA_LIB_NAME}.a; then + if test -r $PHP_LUA/$PHP_LIBDIR/${LUA_LIB_NAME}; then LUA_LIB_DIR=$PHP_LUA/$PHP_LIBDIR else AC_MSG_CHECKING(for lua library in default path) for i in /usr/lib /usr/lib64; do - if test -r $i/$PHP_LIBDIR/${LUA_LIB_NAME}.a; then + if test -r $i/${LUA_LIB_NAME}; then LUA_LIB_DIR=$i AC_MSG_RESULT(found in $i) break

« previous php.pecl.cvs (#17429) next »