aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-08 14:31:33 -0800
committerRoland McGrath <roland@hack.frob.com>2013-03-08 14:31:33 -0800
commit222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce (patch)
treeb65cd3a4e6be941f33de2fa60ead9b64367ce8f5 /Makeconfig
parenta222d91a13149b7034226ff35c55760989089cbd (diff)
downloadglibc-222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce.zip
glibc-222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce.tar.gz
glibc-222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce.tar.bz2
Add dependency tracking for preconfigure files.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 79035e3..6c88918 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -90,10 +90,14 @@ $(common-objpfx)config.status: $(..)version.h $(..)configure \
$(firstword $(wildcard \
$(addprefix $(dir)/,configure configure.in))))) \
$(patsubst %.in,%,\
+ $(wildcard $(..)sysdeps/*/preconfigure $(..)sysdeps/*/preconfigure.in)) \
+ $(patsubst %.in,%,\
$(foreach add-on,$(add-ons),\
$(firstword $(wildcard \
$(addprefix $(firstword $(filter /%,$(add-on)) $(..)$(add-on))/,\
- configure configure.in)))))
+ configure configure.in))) \
+ $(wildcard $(addprefix $(firstword $(filter /%,$(add-on)) $(..)$(add-on))/,\
+ sysdeps/*/preconfigure sysdeps/*/preconfigure.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; \