summaryrefslogtreecommitdiff
path: root/ext/pdo_oci
diff options
context:
space:
mode:
authorMaxime BESSON <maxime.besson@smile.fr>2015-02-06 12:06:29 +0100
committerMaxime BESSON <maxime.besson@smile.fr>2015-02-06 12:06:29 +0100
commitf38497155226d2ee8d2d7fc32fc26b58b9c0057c (patch)
treef29b825988a663a8fd05c853c8b4a94aeb0b2044 /ext/pdo_oci
parentff2cccbfdde4c92bdd285b957237e5eac5099689 (diff)
downloadphp-git-f38497155226d2ee8d2d7fc32fc26b58b9c0057c.tar.gz
Look for PDO include files in the right folder
Configure scripts for extensions look for PDO include files in $prefix/include/php. This change makes them look into $phpincludedir instead, which may be different from $prefix/include/php.
Diffstat (limited to 'ext/pdo_oci')
-rwxr-xr-xext/pdo_oci/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_oci/config.m4 b/ext/pdo_oci/config.m4
index e3795db0ea..34cfb1397e 100755
--- a/ext/pdo_oci/config.m4
+++ b/ext/pdo_oci/config.m4
@@ -217,8 +217,8 @@ You need to tell me where to find your Oracle Instant Client SDK, or set ORACLE_
pdo_cv_inc_path=$abs_srcdir/ext
elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
pdo_cv_inc_path=$abs_srcdir/ext
- elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
- pdo_cv_inc_path=$prefix/include/php/ext
+ elif test -f $phpincludedir/ext/pdo/php_pdo_driver.h; then
+ pdo_cv_inc_path=$phpincludedir/ext
else
AC_MSG_ERROR([Cannot find php_pdo_driver.h.])
fi