summaryrefslogtreecommitdiff
path: root/build/build2.mk
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-06-27 00:19:43 +0000
committerSascha Schumann <sas@php.net>2003-06-27 00:19:43 +0000
commite715fb00f8850990d51cee4e08e84a58f0eb0012 (patch)
tree523f19f3cbe5065e53ce606195fa79c0da278052 /build/build2.mk
parent4608ddb5d804368fdc4bcac440bba8a9c671c336 (diff)
downloadphp-git-e715fb00f8850990d51cee4e08e84a58f0eb0012.tar.gz
Eliminate need for automake/aclocal
Diffstat (limited to 'build/build2.mk')
-rw-r--r--build/build2.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/build/build2.mk b/build/build2.mk
index 17f5f35c09..881998edb9 100644
--- a/build/build2.mk
+++ b/build/build2.mk
@@ -52,8 +52,13 @@ $(TOUCH_FILES):
touch $(TOUCH_FILES)
aclocal.m4: configure.in acinclude.m4
- aclocal 2>&1 | $(SUPPRESS_WARNINGS)
-
+ @echo rebuilding $@
+ @libtoolize=`./build/shtool path glibtoolize libtoolize`; \
+ $$libtoolize --copy --automake; \
+ ltpath=`dirname $$libtoolize`; \
+ ltfile=`cd $$ltpath/../share/aclocal; pwd`/libtool.m4; \
+ cat acinclude.m4 $$ltfile > $@
+
configure: aclocal.m4 configure.in $(config_m4_files)
@echo rebuilding $@
@autoconf 2>&1 | $(SUPPRESS_WARNINGS)