aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2023-06-29 14:34:16 -0400
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2023-07-17 10:08:10 -0400
commitc6cb8783b5fb5896cb63fe9008b6a33351f3c777 (patch)
tree603c0cce8394c6d7f45ea4e2d4c5cf473c1af4f6
parent5a70ac9d39711528573439e01e249a8f825743ca (diff)
downloadglibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar.xz
glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.zip
configure: Use autoconf 2.71
Bump autoconf requirement to 2.71 to allow regenerating configure on more recent distributions. autoconf 2.71 has been in Fedora since F36 and is the current version in Debian stable (bookworm). It appears to be current in Gentoo as well. All sysdeps configure and preconfigure scripts have also been regenerated; all changes are trivial transformations that do not affect functionality. Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
-rw-r--r--INSTALL2
-rw-r--r--aclocal.m42
-rwxr-xr-xconfigure4125
-rw-r--r--configure.ac4
-rw-r--r--manual/install.texi2
-rw-r--r--sysdeps/aarch64/configure202
-rw-r--r--sysdeps/alpha/configure3
-rw-r--r--sysdeps/arc/configure89
-rw-r--r--sysdeps/arm/configure117
-rw-r--r--sysdeps/arm/preconfigure88
-rw-r--r--sysdeps/csky/configure3
-rwxr-xr-xsysdeps/csky/preconfigure15
-rw-r--r--sysdeps/gnu/configure1
-rw-r--r--sysdeps/hppa/configure26
-rw-r--r--sysdeps/i386/configure30
-rw-r--r--sysdeps/ia64/configure3
-rw-r--r--sysdeps/ieee754/ldbl-opt/configure25
-rw-r--r--sysdeps/loongarch/configure66
-rw-r--r--sysdeps/loongarch/preconfigure9
-rw-r--r--sysdeps/m68k/configure3
-rw-r--r--sysdeps/m68k/preconfigure1
-rw-r--r--sysdeps/mach/configure319
-rw-r--r--sysdeps/mach/hurd/configure25
-rwxr-xr-xsysdeps/microblaze/configure5
-rw-r--r--sysdeps/microblaze/preconfigure68
-rw-r--r--sysdeps/mips/configure87
-rw-r--r--sysdeps/mips/preconfigure1
-rw-r--r--sysdeps/nios2/configure85
-rw-r--r--sysdeps/or1k/configure1
-rw-r--r--sysdeps/powerpc/powerpc32/configure3
-rw-r--r--sysdeps/powerpc/powerpc32/fpu/configure39
-rw-r--r--sysdeps/powerpc/powerpc64/configure46
-rw-r--r--sysdeps/powerpc/powerpc64/le/configure138
-rw-r--r--sysdeps/powerpc/powerpc64/le/fpu/multiarch/configure28
-rw-r--r--sysdeps/powerpc/preconfigure22
-rw-r--r--sysdeps/riscv/configure18
-rw-r--r--sysdeps/riscv/preconfigure9
-rw-r--r--sysdeps/s390/configure212
-rw-r--r--sysdeps/s390/s390-64/configure26
-rw-r--r--sysdeps/sh/configure1
-rw-r--r--sysdeps/sh/preconfigure68
-rw-r--r--sysdeps/sparc/configure1
-rw-r--r--sysdeps/sparc/sparc32/configure100
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/alpha/configure1
-rw-r--r--sysdeps/unix/sysv/linux/arc/configure1
-rw-r--r--sysdeps/unix/sysv/linux/configure66
-rw-r--r--sysdeps/unix/sysv/linux/configure.ac2
-rw-r--r--sysdeps/unix/sysv/linux/csky/configure1
-rw-r--r--sysdeps/unix/sysv/linux/i386/configure1
-rw-r--r--sysdeps/unix/sysv/linux/ia64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/loongarch/configure76
-rw-r--r--sysdeps/unix/sysv/linux/m68k/configure1
-rw-r--r--sysdeps/unix/sysv/linux/mips/configure216
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/nios2/configure1
-rw-r--r--sysdeps/unix/sysv/linux/or1k/configure1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/configure59
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/configure1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/configure129
-rwxr-xr-xsysdeps/unix/sysv/linux/riscv/configure81
-rw-r--r--sysdeps/unix/sysv/linux/s390/configure1
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/sh/configure1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/configure1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/configure1
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/configure1
-rw-r--r--sysdeps/x86/configure98
-rwxr-xr-xsysdeps/x86_64/configure23
-rw-r--r--sysdeps/x86_64/preconfigure25
72 files changed, 4257 insertions, 2655 deletions
diff --git a/INSTALL b/INSTALL
index 51297189c0..30b874cd3a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -599,7 +599,7 @@ build the GNU C Library:
If you change any of the ‘configure.ac’ files you will also need
- • GNU ‘autoconf’ 2.69 (exactly)
+ • GNU ‘autoconf’ 2.71 (exactly)
and if you change any of the message translation files you will need
diff --git a/aclocal.m4 b/aclocal.m4
index 213835e1d5..a097d66a49 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2,7 +2,7 @@ dnl We require that everyone use exactly the same Autoconf version so that
dnl the internal functions defined and used by the main configure script
dnl match those expected by the fragments. When changing this version,
dnl install.texi also needs to be updated.
-m4_define([GLIBC_AUTOCONF_VERSION], [2.69])
+m4_define([GLIBC_AUTOCONF_VERSION], [2.71])
m4_if(m4_defn([AC_AUTOCONF_VERSION]), GLIBC_AUTOCONF_VERSION, [],
[m4_fatal(m4_flatten(
Exactly version GLIBC_AUTOCONF_VERSION of Autoconf is required but you have
diff --git a/configure b/configure
index 1833a4ce66..c02c0b5825 100755
--- a/configure
+++ b/configure
@@ -1,11 +1,12 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GNU C Library (see version.h).
+# Generated by GNU Autoconf 2.71 for GNU C Library (see version.h).
#
# Report bugs to <https://sourceware.org/bugzilla/>.
#
#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
+# Inc.
#
#
# This configure script is free software; the Free Software Foundation
@@ -16,14 +17,16 @@
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+as_nop=:
+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
+then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
-else
+else $as_nop
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
@@ -33,46 +36,46 @@ esac
fi
+
+# Reset variables that may have inherited troublesome values from
+# the environment.
+
+# IFS needs to be set, to space, tab, and newline, in precisely that order.
+# (If _AS_PATH_WALK were called with IFS unset, it would have the
+# side effect of setting IFS to empty, thus disabling word splitting.)
+# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
+IFS=" "" $as_nl"
+
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# Ensure predictable behavior from utilities with locale-dependent output.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# We cannot yet rely on "unset" to work, but we need these variables
+# to be unset--not just set to an empty or harmless value--now, to
+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
+# also avoids known problems related to "unset" and subshell syntax
+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
+do eval test \${$as_var+y} \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+
+# Ensure that fds 0, 1, and 2 are open.
+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
+if ${PATH_SEPARATOR+false} :; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
@@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
fi