From c1d46eb50215ee16505f4029272ebbf75bc0d257 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Fri, 29 May 2009 13:09:47 +0000 Subject: MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x --- ext/mysqli/config.m4 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ext/mysqli/config.m4') 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 -- cgit v1.2.1