diff options
-rw-r--r-- | acinclude.m4 | 4 | ||||
-rw-r--r-- | ext/pdo_dblib/config.m4 | 4 | ||||
-rwxr-xr-x | ext/pdo_mysql/config.m4 | 4 | ||||
-rwxr-xr-x | ext/pdo_oci/config.m4 | 4 | ||||
-rwxr-xr-x | ext/pdo_odbc/config.m4 | 4 | ||||
-rw-r--r-- | ext/pdo_pgsql/config.m4 | 4 | ||||
-rw-r--r-- | ext/pdo_sqlite/config.m4 | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index a4d4d509e0..b2220c3d5e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2771,8 +2771,8 @@ AC_DEFUN([PHP_CHECK_PDO_INCLUDES],[ 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 fi ]) if test -n "$pdo_cv_inc_path"; then diff --git a/ext/pdo_dblib/config.m4 b/ext/pdo_dblib/config.m4 index ba8244c721..407c3fe4de 100644 --- a/ext/pdo_dblib/config.m4 +++ b/ext/pdo_dblib/config.m4 @@ -62,8 +62,8 @@ if test "$PHP_PDO_DBLIB" != "no"; then 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 diff --git a/ext/pdo_mysql/config.m4 b/ext/pdo_mysql/config.m4 index 95ae6ca7ed..4b79a8b54c 100755 --- a/ext/pdo_mysql/config.m4 +++ b/ext/pdo_mysql/config.m4 @@ -130,8 +130,8 @@ if test "$PHP_PDO_MYSQL" != "no"; then 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 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 diff --git a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4 index 74734c4d63..2301e87b8d 100755 --- a/ext/pdo_odbc/config.m4 +++ b/ext/pdo_odbc/config.m4 @@ -50,8 +50,8 @@ if test "$PHP_PDO_ODBC" != "no"; then 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 diff --git a/ext/pdo_pgsql/config.m4 b/ext/pdo_pgsql/config.m4 index c61c5de4f4..1b6dd0e118 100644 --- a/ext/pdo_pgsql/config.m4 +++ b/ext/pdo_pgsql/config.m4 @@ -107,8 +107,8 @@ if test "$PHP_PDO_PGSQL" != "no"; then 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 diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index 0a7d0fe826..fcbe0b5b64 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -22,8 +22,8 @@ if test "$PHP_PDO_SQLITE" != "no"; then 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 |