From e50ec9f91d798e00154dc089037b25e6de1fe894 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 19 Jun 1996 14:52:21 +0000 Subject: Mon Jun 17 19:09:49 1996 Andreas Schwab * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing up a huge list just to discard most of it. * configure.in (sysnames): Avoid fgrep by using the case shell builtin. * Makeconfig (config.status): Fix dependency on Implies files. --- Makeconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index a254e9d824..3d7989086d 100644 --- a/Makeconfig +++ b/Makeconfig @@ -94,9 +94,11 @@ $(common-objpfx)config.make: $(common-objpfx)config.status $(..)config.h.in # configure when any of them changes. $(common-objpfx)config.status: $(..)configure \ $(foreach dir,$(config-sysdirs),\ + $(wildcard \ + $(sysdep_dir)/$(dir)/Implies) \ $(patsubst %.in,%,\ $(firstword $(wildcard \ - $(addprefix $(sysdep_dir)/$(dir)/,configure configure.in Implies))))) + $(addprefix $(sysdep_dir)/$(dir)/,configure configure.in))))) @cd $(@D); if test -f $(@F); then exec $(SHELL) $(@F) --recheck; else \ echo The GNU C library has not been configured. >&2; \ echo Run \`configure\' to configure it before building. >&2; \ -- cgit 1.4.1