diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2011-05-15 05:24:34 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2011-05-15 05:24:34 +0000 |
commit | 8e256774b0cd24bd460c6fc4a9394abe5c1a939d (patch) | |
tree | 4e09a203e42227a85052143adaa6a65fe52556a6 /acinclude.m4 | |
parent | d19c366c4a05c1be88dc2c1cb48d19df2fefe87e (diff) | |
download | php-git-8e256774b0cd24bd460c6fc4a9394abe5c1a939d.tar.gz |
Cache the PDO include path
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 56823bf69c..c08334b887 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2760,17 +2760,17 @@ dnl dnl PHP_CHECK_PDO_INCLUDES([found [, not-found]]) dnl AC_DEFUN([PHP_CHECK_PDO_INCLUDES],[ - AC_CACHE_CHECK([for PDO includes], pdo_inc_path, [ + AC_CACHE_CHECK([for PDO includes], pdo_cv_inc_path, [ AC_MSG_CHECKING([for PDO includes]) if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then - pdo_inc_path=$abs_srcdir/ext + pdo_cv_inc_path=$abs_srcdir/ext elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then - pdo_inc_path=$abs_srcdir/ext + pdo_cv_inc_path=$abs_srcdir/ext elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then - pdo_inc_path=$prefix/include/php/ext + pdo_cv_inc_path=$prefix/include/php/ext fi ]) - if test -n "$pdo_inc_path"; then + if test -n "$pdo_cv_inc_path"; then ifelse([$1],[],:,[$1]) else ifelse([$2],[],[AC_MSG_ERROR([Cannot find php_pdo_driver.h.])],[$2]) |