diff options
Diffstat (limited to 'ext/pdo_sqlite/config.m4')
-rw-r--r-- | ext/pdo_sqlite/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
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 |