From 5689ac6724dbd9c4842f03da53c32a534dbe980e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 21 Oct 1997 17:03:25 +0000 Subject: [PATCH] silly bug fix --- Makefile.in | 6 ++++-- aclocal.in | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index f12c14ca..dfc532f7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -324,7 +324,7 @@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ - for subdir in $(SUBDIRS); do \ + list='$(SUBDIRS)'; for subdir in $$list; do \ target=`echo $@ | sed s/-recursive//`; \ echo "Making $$target in $$subdir"; \ (cd $$subdir && $(MAKE) $$target) \ @@ -334,7 +334,9 @@ check-recursive installcheck-recursive info-recursive dvi-recursive: mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ - rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + done; \ for subdir in $$rev; do \ target=`echo $@ | sed s/-recursive//`; \ echo "Making $$target in $$subdir"; \ diff --git a/aclocal.in b/aclocal.in index e14a8a33..38448259 100644 --- a/aclocal.in +++ b/aclocal.in @@ -278,7 +278,7 @@ sub scan_m4_files { # EXPR is a regexp matching the name of the macro. ($expr = $key) =~ s/(\W)/\\$1/g; - $search .= ("if (/" . $expr "/) { & add_macro (" . $key + $search .= ("if (/" . $expr . "/) { & add_macro (" . $key . "); return 1; }\n"); } $search .= "return 0;\n"; -- 2.43.5