summaryrefslogtreecommitdiff
path: root/template/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'template/Makefile.in')
-rw-r--r--template/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 33ea093838..51ee854de1 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -366,12 +366,12 @@ reconfig config.status: $(srcdir)/$(CONFIGURE) $(srcdir)/enc/Makefile.in \
@PWD= MINIRUBY="$(MINIRUBY)"; export MINIRUBY; \
set $(SHELL) $($@-args); $(reconfig-exec-$(V))
-$(srcdir)/$(CONFIGURE): $(srcdir)/configure.ac $(srcdir)/aclocal.m4
- $(CHDIR) $(srcdir) && exec $(AUTOCONF) -o $(@F)
+$(srcdir)/$(CONFIGURE): $(srcdir)/configure.ac $(tooldir)/m4/aclocal.m4
+ $(CHDIR) $(srcdir) && exec $(AUTOCONF) -I tool/m4 -o $(@F)
-$(srcdir)/aclocal.m4:
+$(tooldir)/m4/aclocal.m4:
$(CHDIR) $(srcdir) && \
- type $(ACLOCAL) >/dev/null 2>&1 && exec $(ACLOCAL); \
+ type $(ACLOCAL) >/dev/null 2>&1 && exec $(ACLOCAL) --output=tool/m4/$(@F); \
touch $(@F)
prereq: $(srcdir)/$(CONFIGURE)