php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54451
Patch config.m4.deb.patch revision 2011-04-05 19:00 UTC by schkovich at gmail dot com
revision 2011-04-02 10:04 UTC by schkovich at gmail dot com

Patch config.m4.deb.patch for PDO OCI Bug #54451

Patch version 2011-04-02 10:04 UTC

Return to Bug #54451 | Download this patch
Patch Revisions:

Developer: schkovich@gmail.com

# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- /home/schkovich/Downloads/config.m4
+++ /home/schkovich/NetBeansProjects/LazyLoad/config.m4
@@ -199,9 +199,9 @@
     -L$PDO_OCI_LIB_DIR $PDO_OCI_SHARED_LIBADD
   ])
 
-  ifdef([PHP_CHECK_PDO_INCLUDES],
+  ifdef([PHP_CHECK_PDO_INCLUDES_CV],
   [
-    PHP_CHECK_PDO_INCLUDES
+    PHP_CHECK_PDO_INCLUDES_CV
   ],[
     AC_MSG_CHECKING([for PDO includes])
     if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
@@ -210,6 +210,8 @@
       pdo_inc_path=$abs_srcdir/ext
     elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
       pdo_inc_path=$prefix/include/php/ext
+    elif test -f $prefix/include/php5/ext/pdo/php_pdo_driver.h; then
+      pdo_inc_path=$prefix/include/php5/ext
     else
       AC_MSG_ERROR([Cannot find php_pdo_driver.h.])
     fi
@@ -229,4 +231,3 @@
 
   AC_DEFINE_UNQUOTED(PHP_PDO_OCI_CLIENT_VERSION, "$PDO_OCI_VERSION", [ ])
 fi
-
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC