aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-07-20 22:14:59 +0000
committerRoland McGrath <roland@gnu.org>2004-07-20 22:14:59 +0000
commit8f73811bcf9c1ef8044f28f384245b477b69cd31 (patch)
tree85737ec0509c60d35f5a0174b1c29a65a1580324 /Makeconfig
parent3a261340b81a5fdf901486d5cd333698474b489b (diff)
downloadglibc-8f73811bcf9c1ef8044f28f384245b477b69cd31.zip
glibc-8f73811bcf9c1ef8044f28f384245b477b69cd31.tar.gz
glibc-8f73811bcf9c1ef8044f28f384245b477b69cd31.tar.bz2
* configure.in (add_ons): Substitute this. Move $add_ons handling
after AC_CANONICAL_HOST and default setting of $machine et al. Don't set $subdirs from $add_ons. Instead, source add-on/configure fragments early on. (base_machine): If it's already set, don't set it based on $machine. (libc_config_ok): New variable, set to no. If an add-on fragment sets it to yes, skip the tuple sanity check as if --enable-hacker-mode. (sysnames): Try appending add-on names after machine as well. * configure: Regenerated. * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. * Makeconfig ($(common-objpfx)config.status): Also depend on configure files in $(add_ons) dirs. * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove definition, now in netinet/in.h proper. long. Rewrite example code so that it takes into account l64a output
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig
index 92501a7..0b85021 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -110,15 +110,19 @@ $(common-objpfx)config.make: $(common-objpfx)config.status \
$(..)config.make.in $(..)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.
+# Find all the add-on and sysdeps configure fragments, to make sure we
+# re-run configure when any of them changes.
$(common-objpfx)config.status: $(..)version.h $(..)configure \
$(foreach dir,$(full_config_sysdirs),\
$(wildcard \
$(dir)/Implies) \
$(patsubst %.in,%,\
$(firstword $(wildcard \
- $(addprefix $(dir)/,configure configure.in)))))
+ $(addprefix $(dir)/,configure configure.in))))) \
+ $(patsubst %.in,%,\
+ $(foreach dir,$(add_ons),\
+ $(firstword $(wildcard \
+ $(addprefix $(..)$(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; \