From 9120a4231cd6aa02c6a07ce033444a9119ade3da Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 24 Dec 1999 22:55:33 +0000 Subject: [PATCH] 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 --- build2.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build2.mk b/build2.mk index 7ebe0c30785..07e6d054426 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