]> granicus.if.org Git - php/commitdiff
Enable dependencies for UNIX. Because this only works, if you use
authorSascha Schumann <sas@php.net>
Fri, 24 Dec 1999 22:55:33 +0000 (22:55 +0000)
committerSascha Schumann <sas@php.net>
Fri, 24 Dec 1999 22:55:33 +0000 (22:55 +0000)
GNU make and GCC, you need to enable it manually by running

$ touch php4/want_dependencies

build2.mk

index 7ebe0c30785372ed8f5ff5c59a7239f51d09f517..07e6d0544267dadc3acb4793652841d04f7b944c 100644 (file)
--- 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