summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-19 14:52:21 +0000
committerRoland McGrath <roland@gnu.org>1996-06-19 14:52:21 +0000
commite50ec9f91d798e00154dc089037b25e6de1fe894 (patch)
tree95fc29d943ad4cadd75d0f9c61c03a8d809e3a43 /Makeconfig
parenta1470b6f839addde3f8ee2c29a237aca21e62565 (diff)
downloadglibc-e50ec9f91d798e00154dc089037b25e6de1fe894.tar.gz
Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* 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.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 3 insertions, 1 deletions
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; \