summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-02-13 06:26:48 +0000
committerWez Furlong <wez@php.net>2005-02-13 06:26:48 +0000
commit5edd570b944a40d93b6de471e2bb9cddf56beb7f (patch)
tree720bb8f21443170cab78b585ec4f2492d3ae391f
parentfc51fd11b69de6a8f700bdf39fd6206315db7872 (diff)
downloadphp-git-5edd570b944a40d93b6de471e2bb9cddf56beb7f.tar.gz
Correct the pdo header search order
-rwxr-xr-xext/pdo_odbc/config.m46
1 files 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