about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-13 17:30:42 +0000
committerRoland McGrath <roland@gnu.org>1996-05-13 17:30:42 +0000
commit7da3079b4234a9a2de56d3b72674177e71c8dccd (patch)
treeaec1301be15d8e3af9d1917d49d51036bab4c437 /Makeconfig
parent0f90ef965036c1b52464ee9491f422eb34a3eaad (diff)
downloadglibc-7da3079b4234a9a2de56d3b72674177e71c8dccd.tar.gz
glibc-7da3079b4234a9a2de56d3b72674177e71c8dccd.tar.xz
glibc-7da3079b4234a9a2de56d3b72674177e71c8dccd.zip
Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* Makeconfig (sysdep-configures): New variable.
	(config.status): Depend on $(sysdep-configures).

Fri May 10 20:07:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/profil.c: New file.

Fri May 10 19:59:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.

Fri May 10 19:55:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* shlib-versions: Use libm=6 and libc=6 for m68k-linux.

	* string/envz.c: Fix uses of unsigned to size_t.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 41f5839afc..5936f237ad 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -86,8 +86,16 @@ include $(common-objpfx)config.make
 $(common-objpfx)config.make: $(common-objpfx)config.status $(..)config.h.in
 	cd $(<D); $(SHELL) $(<F)
 
+# Find all the sysdeps configure fragments, to make sure we re-run
+# configure when any of them changes.
+sysdep-configures = $(foreach dir,$(config-sysdirs),\
+			      $(patsubst %.in,%,\
+					 $(firstword $(wildcard \
+					    $(dir)/configure \
+					    $(dir)/configure.in)))
+
 # Force the user to configure before making.
-$(common-objpfx)config.status: $(..)configure
+$(common-objpfx)config.status: $(..)configure $(sysdep-configures)
 	@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; \