From 5edd570b944a40d93b6de471e2bb9cddf56beb7f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 13 Feb 2005 06:26:48 +0000 Subject: [PATCH] Correct the pdo header search order --- ext/pdo_odbc/config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4 index b8a9c88c22..5e00784c1d 100755 --- a/ext/pdo_odbc/config.m4 +++ b/ext/pdo_odbc/config.m4 @@ -132,12 +132,12 @@ functions required for PDO support. PHP_SUBST(PDO_ODBC_SHARED_LIBADD) AC_MSG_CHECKING([for PDO includes]) - if test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then - pdo_inc_path=$prefix/include/php/ext - elif test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then + if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext elif test -f ext/pdo/php_pdo_driver.h; then pdo_inc_path=ext + elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then + pdo_inc_path=$prefix/include/php/ext else AC_MSG_ERROR([Cannot find php_pdo_driver.h.]) fi -- 2.50.1