summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2011-05-15 05:03:29 +0000
committerRasmus Lerdorf <rasmus@php.net>2011-05-15 05:03:29 +0000
commit78a15091f9efcb60c383b317d03e95756bd677a0 (patch)
tree7a3942e5b288b2b3ef28cf89e0557685a77ffd5c /acinclude.m4
parent24be7e2106bc520b2eadf8272b9d73df6ba72866 (diff)
downloadphp-git-78a15091f9efcb60c383b317d03e95756bd677a0.tar.gz
Cache the pdo include path
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 811249bcfb..69d65e3ec0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2745,17 +2745,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])