about summary refs log tree commit diff
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
parenta222d91a13149b7034226ff35c55760989089cbd (diff)
downloadglibc-222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce.tar.gz
glibc-222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce.tar.xz
glibc-222d7f00a4f72ac1e1ae0bf479d003f00d16d0ce.zip
Add dependency tracking for preconfigure files.
-rw-r--r--ChangeLog5
-rw-r--r--Makeconfig6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a86ce03a76..d07f5e2ac2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-08  Roland McGrath  <roland@hack.frob.com>
+
+	* Makeconfig ($(common-objpfx)config.status): Depend on
+	sysdeps/*/preconfigure{,.in} too.
+
 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
 
 	* malloc/malloc.h (__malloc_ptr_t): Remove macro.
diff --git a/Makeconfig b/Makeconfig
index 79035e3906..6c8891827e 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; \