cvs: pecl /pdo_odbc config.m4
| From: | Wez Furlong | Date: | Sun, 13 Feb 2005 06:26:48 +0000 |
| Subject: | cvs: pecl /pdo_odbc config.m4 | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2534@lists.php.net to get a copy of this message | ||
wez Sun Feb 13 01:26:48 2005 EDT
Modified files:
/pecl/pdo_odbc config.m4
Log:
Correct the pdo header search order
http://cvs.php.net/diff.php/pecl/pdo_odbc/config.m4?r1=1.11&r2=1.12&ty=u
Index: pecl/pdo_odbc/config.m4
diff -u pecl/pdo_odbc/config.m4:1.11 pecl/pdo_odbc/config.m4:1.12
--- pecl/pdo_odbc/config.m4:1.11 Wed Feb 9 00:12:41 2005
+++ pecl/pdo_odbc/config.m4 Sun Feb 13 01:26:48 2005
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.11 2005/02/09 05:12:41 wez Exp $
+dnl $Id: config.m4,v 1.12 2005/02/13 06:26:48 wez Exp $
dnl config.m4 for extension pdo_odbc
dnl vim:et:sw=2:ts=2:
@@ -132,12 +132,12 @@
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