Skip to content

Commit 7e2eee9

Browse files
committed
Remove also include dir from PDO checks
1 parent a17749e commit 7e2eee9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build/php.m4

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,9 +2152,7 @@ dnl PHP_CHECK_PDO_INCLUDES([found [, not-found]])
21522152
dnl
21532153
AC_DEFUN([PHP_CHECK_PDO_INCLUDES],[
21542154
AC_CACHE_CHECK([for PDO includes], pdo_cv_inc_path, [
2155-
if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
2156-
pdo_cv_inc_path=$abs_srcdir/ext
2157-
elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
2155+
if test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
21582156
pdo_cv_inc_path=$abs_srcdir/ext
21592157
elif test -f $phpincludedir/ext/pdo/php_pdo_driver.h; then
21602158
pdo_cv_inc_path=$phpincludedir/ext

0 commit comments

Comments
 (0)