summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-23 19:54:51 +0000
committerSascha Schumann <sas@php.net>1999-11-23 19:54:51 +0000
commit6a25e05d959597ebbffb60aae4f6bea8f392e625 (patch)
treeffec74b72f97621bcb2ccc739b63705f048b223a
parent2681a6b1690e53684be7c651237a52b166260e84 (diff)
downloadphp-git-6a25e05d959597ebbffb60aae4f6bea8f392e625.tar.gz
Only create regex/Makefile, if we use the bundled regex library
-rw-r--r--acinclude.m41
-rw-r--r--configure.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 85d01850e1..802901c693 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -163,6 +163,7 @@ if test "$REGEX_TYPE" = "php"; then
REGEX_DIR=regex
AC_DEFINE(HSREGEX)
AC_DEFINE(REGEX,1)
+ PHP_OUTPUT(regex/Makefile)
elif test "$REGEX_TYPE" = "system"; then
AC_DEFINE(REGEX,0)
elif test "$REGEX_TYPE" = "apache"; then
diff --git a/configure.in b/configure.in
index 22de9d3452..21cb1a13c2 100644
--- a/configure.in
+++ b/configure.in
@@ -691,7 +691,7 @@ AC_SUBST(INSTALL_IT)
#libphp4.module
AC_OUTPUT([Makefile php4.spec ext/Makefile sapi/Makefile pecl/Makefile
$PHP_OUTPUT_FILES
- scripts/mkextlib regex/Makefile build-defs.h], [], [
+ scripts/mkextlib build-defs.h], [], [
if test ! -f $srcdir/ext/bcmath/number.c; then
echo "creating number.c"