Some configure-related decrufting.

This commit is contained in:
Roland McGrath 2014-05-08 11:27:14 -07:00
parent 7a1a51b513
commit 95afbbe5fc
6 changed files with 12 additions and 20 deletions

View File

@ -1,5 +1,13 @@
2014-05-08 Roland McGrath <roland@hack.frob.com> 2014-05-08 Roland McGrath <roland@hack.frob.com>
* Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
look for %.ac rather than %.in.
* sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
* sysdeps/unix/sysv/linux/configure.ac: Likewise.
* sysdeps/mach/hurd/configure: Regenerated.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0. * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2014-05-07 Steve Ellcey <sellcey@mips.com> 2014-05-07 Steve Ellcey <sellcey@mips.com>

View File

@ -86,12 +86,12 @@ $(common-objpfx)config.make: $(common-objpfx)config.status \
$(common-objpfx)config.status: $(..)version.h $(..)configure \ $(common-objpfx)config.status: $(..)version.h $(..)configure \
$(foreach dir,$(sysdirs),\ $(foreach dir,$(sysdirs),\
$(wildcard $(dir)/Implies) \ $(wildcard $(dir)/Implies) \
$(patsubst %.in,%,\ $(patsubst %.ac,%,\
$(firstword $(wildcard \ $(firstword $(wildcard \
$(addprefix $(dir)/,configure configure.ac))))) \ $(addprefix $(dir)/,configure configure.ac))))) \
$(patsubst %.in,%,\ $(patsubst %.ac,%,\
$(wildcard $(..)sysdeps/*/preconfigure $(..)sysdeps/*/preconfigure.ac)) \ $(wildcard $(..)sysdeps/*/preconfigure $(..)sysdeps/*/preconfigure.ac)) \
$(patsubst %.in,%,\ $(patsubst %.ac,%,\
$(foreach add-on,$(add-ons),\ $(foreach add-on,$(add-ons),\
$(firstword $(wildcard \ $(firstword $(wildcard \
$(addprefix $(firstword $(filter /%,$(add-on)) $(..)$(add-on))/,\ $(addprefix $(firstword $(filter /%,$(add-on)) $(..)$(add-on))/,\
@ -1049,7 +1049,7 @@ ifndef avoid-generated
# existing directory not in all-subdirs, then sysd-sorted needs to # existing directory not in all-subdirs, then sysd-sorted needs to
# be regenerated, so it depends on existing $(sorted-subdirs:=/Depend) files. # be regenerated, so it depends on existing $(sorted-subdirs:=/Depend) files.
all-Depend-files := $(wildcard $(sort \ all-Depend-files := $(wildcard $(sort \
$(foreach dir,$(all-subdirs),\ $(foreach dir,$(all-subdirs),\
$(firstword $($(dir)-srcdir) \ $(firstword $($(dir)-srcdir) \
$(..)$(dir))/Depend) \ $(..)$(dir))/Depend) \
$(sorted-subdirs:=/Depend))) $(sorted-subdirs:=/Depend)))

View File

@ -3,10 +3,6 @@
$as_echo "#define NO_HIDDEN 1" >>confdefs.h $as_echo "#define NO_HIDDEN 1" >>confdefs.h
# Don't bother trying to generate any glue code to be compatible with the
# existing system library, because we are the only system library.
inhibit_glue=yes
case "$machine" in case "$machine" in
i386*) i386*)
# The default oldest ABI is 2.2.6. # The default oldest ABI is 2.2.6.

View File

@ -3,10 +3,6 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
dnl We need this setting because of the need for PLT calls in ld.so. dnl We need this setting because of the need for PLT calls in ld.so.
AC_DEFINE([NO_HIDDEN]) AC_DEFINE([NO_HIDDEN])
# Don't bother trying to generate any glue code to be compatible with the
# existing system library, because we are the only system library.
inhibit_glue=yes
case "$machine" in case "$machine" in
i386*) i386*)
# The default oldest ABI is 2.2.6. # The default oldest ABI is 2.2.6.

View File

@ -32,10 +32,6 @@ $as_echo "$ac_res" >&6; }
# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
# Local configure fragment for sysdeps/unix/sysv/linux. # Local configure fragment for sysdeps/unix/sysv/linux.
# Don't bother trying to generate any glue code to be compatible with the
# existing system library, because we are the only system library.
inhibit_glue=yes
if test -n "$sysheaders"; then if test -n "$sysheaders"; then
OLD_CPPFLAGS=$CPPFLAGS OLD_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $SYSINCLUDES" CPPFLAGS="$CPPFLAGS $SYSINCLUDES"

View File

@ -1,10 +1,6 @@
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/unix/sysv/linux. # Local configure fragment for sysdeps/unix/sysv/linux.
# Don't bother trying to generate any glue code to be compatible with the
# existing system library, because we are the only system library.
inhibit_glue=yes
define([LIBC_LINUX_VERSION],[2.6.32])dnl define([LIBC_LINUX_VERSION],[2.6.32])dnl
if test -n "$sysheaders"; then if test -n "$sysheaders"; then
OLD_CPPFLAGS=$CPPFLAGS OLD_CPPFLAGS=$CPPFLAGS