summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-04-23 02:51:17 +0000
committerfoobar <sniper@php.net>2002-04-23 02:51:17 +0000
commit50f91c18fb2002e66d3e1fb603320a0ce1d43ade (patch)
tree4db6646e779eb8a40cccdc1fa280f08949d97823
parent3679c6e0548bf00c24659d882624a8ddda591741 (diff)
downloadphp-git-50f91c18fb2002e66d3e1fb603320a0ce1d43ade.tar.gz
Part 2 of static apache build fixes:
- Added 2 variables to be used in libphp4.module o Apparently autoconf 2.53 screws abs_srcdir - Made INCLUDES and EXTRA_INCLUDES available to be used with AC_OUTPUT() o Not related to the static apache build issues
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 181ac8411e..8b05e3a8f5 100644
--- a/configure.in
+++ b/configure.in
@@ -136,6 +136,9 @@ AC_AIX
abs_srcdir=`(cd $srcdir; pwd)`
abs_builddir=`pwd`
+php_abs_top_srcdir=`(cd $srcdir; pwd)`
+php_abs_top_builddir=`pwd`
+
dnl Because ``make install'' is often performed by the superuser,
dnl we create the libs subdirectory as the user who configures PHP.
dnl Otherwise, the current user will not be able to delete libs
@@ -977,6 +980,9 @@ PHP_SUBST(EXT_LIBS)
PHP_SUBST_OLD(abs_builddir)
PHP_SUBST_OLD(abs_srcdir)
+PHP_SUBST_OLD(php_abs_top_builddir)
+PHP_SUBST_OLD(php_abs_top_srcdir)
+
PHP_SUBST(bindir)
PHP_SUBST(exec_prefix)
PHP_SUBST(includedir)
@@ -1005,7 +1011,8 @@ PHP_SUBST_OLD(EXTENSION_DIR)
PHP_SUBST(EXTRA_LDFLAGS)
PHP_SUBST_OLD(EXTRA_LIBS)
PHP_SUBST_OLD(ZEND_EXTRA_LIBS)
-PHP_SUBST(INCLUDES)
+PHP_SUBST_OLD(INCLUDES)
+PHP_SUBST_OLD(EXTRA_INCLUDES)
PHP_SUBST_OLD(INCLUDE_PATH)
PHP_SUBST_OLD(INSTALL_IT)
PHP_SUBST(LEX)