summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-24 22:55:33 +0000
committerSascha Schumann <sas@php.net>1999-12-24 22:55:33 +0000
commit9120a4231cd6aa02c6a07ce033444a9119ade3da (patch)
treea042d9bf19f892198054dc9d584e3256499cccc6
parente25e3f092a5d7bc87085d2240d0f5b49041f0f22 (diff)
downloadphp-git-9120a4231cd6aa02c6a07ce033444a9119ade3da.tar.gz
Enable dependencies for UNIX. Because this only works, if you use
GNU make and GCC, you need to enable it manually by running $ touch php4/want_dependencies
-rw-r--r--build2.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2.mk b/build2.mk
index 7ebe0c3078..07e6d05442 100644
--- a/build2.mk
+++ b/build2.mk
@@ -36,7 +36,8 @@ $(makefile_in_files): $(makefile_am_files) aclocal.m4 configure.in $(config_m4_f
cp $$i.bak $$i; \
fi; \
done
- @automake -a -i $(AMFLAGS) $(makefile_files) 2>&1 \
+ @test -f want_dependencies || flag=-i; \
+ automake -a $$flag $(AMFLAGS) $(makefile_files) 2>&1 \
| grep -v PHP_OUTPUT_FILES || true >&2
@for i in $(LT_TARGETS); do mv $$i.bak $$i; done