diff options
Diffstat (limited to 'build/build2.mk')
-rw-r--r-- | build/build2.mk | 9 |
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) |