]> granicus.if.org Git - php/commitdiff
Fixed Bug #63361 Header not installed
authorRemi Collet <remi@php.net>
Sun, 25 Nov 2012 06:46:02 +0000 (07:46 +0100)
committerRemi Collet <remi@php.net>
Sun, 25 Nov 2012 06:46:02 +0000 (07:46 +0100)
ext/mysqli/php_mysqli_structs.h is installed and includes
mysqli_mysqlnd.h or mysqli_libmysql.h. So this header must also
be installed.

NEWS
ext/mysqli/config.m4

diff --git a/NEWS b/NEWS
index c2417a92c27470e2200f5b8f9d3c69512b9622cd..4dde872f223d15c2e1cb7cfa39d6ce2fa3c6823d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ PHP                                                                        NEWS
 - Imap:
   . Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array (Remi)
 
+- mysqli:
+  . Fixed bug #63361 missing header. (Remi)
+
 - Pdo_sqlite:
   . Fixed Bug #63149 getColumnMeta should return the table name
     when system SQLite used. (Remi)
index 6ec93346397179c9ec5c4848d5f02c7483c379ca..687b4228983051d03c45449f6cee9b29905eec82 100644 (file)
@@ -81,5 +81,8 @@ if test "$PHP_MYSQLI" != "no"; then
   if test "$PHP_MYSQLI" = "yes" || test "$PHP_MYSQLI" = "mysqlnd"; then
     PHP_ADD_EXTENSION_DEP(mysqli, mysqlnd)
     AC_DEFINE([MYSQLI_USE_MYSQLND], 1, [Whether mysqlnd is enabled])
+    PHP_INSTALL_HEADERS([ext/mysqli/mysqli_mysqlnd.h])
+  else
+    PHP_INSTALL_HEADERS([ext/mysqli/mysqli_libmysql.h])
   fi
 fi