summaryrefslogtreecommitdiff
path: root/ext/mysqli/config.m4
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-05-29 13:09:47 +0000
committerAndrey Hristov <andrey@php.net>2009-05-29 13:09:47 +0000
commitc1d46eb50215ee16505f4029272ebbf75bc0d257 (patch)
tree8be80972264f2d188f4ac9ae2a83900aa6b8b556 /ext/mysqli/config.m4
parentf3f1256332864ea20c3cab4f0c0e21191589a5f4 (diff)
downloadphp-git-c1d46eb50215ee16505f4029272ebbf75bc0d257.tar.gz
MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x
Diffstat (limited to 'ext/mysqli/config.m4')
-rw-r--r--ext/mysqli/config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4
index b0587cb1f8..c69b16a819 100644
--- a/ext/mysqli/config.m4
+++ b/ext/mysqli/config.m4
@@ -61,6 +61,16 @@ elif test "$PHP_MYSQLI" != "no"; then
],[
$MYSQLI_LIBLINE
])
+ dnl
+ dnl Check the library for mysql_stmt_store_result
+ dnl
+ PHP_CHECK_LIBRARY($MYSQL_LIB_NAME, mysql_stmt_next_result,
+ [
+ AC_DEFINE(HAVE_STMT_NEXT_RESULT, 1, [ ])
+ ],[
+ ],[
+ $MYSQLI_LIBLINE
+ ])
fi
dnl Build extension