diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-06-29 14:34:16 -0400 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-07-17 10:08:10 -0400 |
commit | c6cb8783b5fb5896cb63fe9008b6a33351f3c777 (patch) | |
tree | 603c0cce8394c6d7f45ea4e2d4c5cf473c1af4f6 /sysdeps/i386 | |
parent | 5a70ac9d39711528573439e01e249a8f825743ca (diff) | |
download | glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.zip glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar.gz glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar.bz2 |
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>
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/configure | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index cbb6609..f5c3a28 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -20,8 +20,8 @@ fi # check for i386, instead we make sure the compiler has support for inlining # the builtin __sync_val_compare_and_swap. If it does then we should have no # problem building for i386. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of inlined builtin function __sync_val_compare_and_swap" >&5 -$as_echo_n "checking for compiler support of inlined builtin function __sync_val_compare_and_swap... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of inlined builtin function __sync_val_compare_and_swap" >&5 +printf %s "checking for compiler support of inlined builtin function __sync_val_compare_and_swap... " >&6; } libc_compiler_builtin_inlined=no cat > conftest.c <<EOF int _start (void) { int a, b, c; __sync_val_compare_and_swap (&a, b, c); return 0; } @@ -33,7 +33,7 @@ if ! { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then libc_compiler_builtin_inlined=yes @@ -47,15 +47,16 @@ else *** Please use host i786, i686, i586, or i486. *** For example: /source/glibc/configure CFLAGS='-O2 -march=i686' ..." "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_compiler_builtin_inlined" >&5 -$as_echo "$libc_compiler_builtin_inlined" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_compiler_builtin_inlined" >&5 +printf "%s\n" "$libc_compiler_builtin_inlined" >&6; } if test "$static_pie" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker static PIE support" >&5 -$as_echo_n "checking for linker static PIE support... " >&6; } -if ${libc_cv_ld_static_pie+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for linker static PIE support" >&5 +printf %s "checking for linker static PIE support... " >&6; } +if test ${libc_cv_ld_static_pie+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat > conftest.s <<\EOF .text .global _start @@ -68,7 +69,7 @@ EOF { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then if $READELF -r conftest | grep 'There are no relocations in this file.' > /dev/null; then libc_cv_ld_static_pie=yes @@ -76,14 +77,15 @@ EOF fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_static_pie" >&5 -$as_echo "$libc_cv_ld_static_pie" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_static_pie" >&5 +printf "%s\n" "$libc_cv_ld_static_pie" >&6; } if test "$libc_cv_ld_static_pie" != yes; then as_fn_error $? "linker support for static PIE needed" "$LINENO" 5 fi fi if test x"$multi_arch" != xno; then - $as_echo "#define NO_HIDDEN_EXTERN_FUNC_IN_PIE 1" >>confdefs.h + printf "%s\n" "#define NO_HIDDEN_EXTERN_FUNC_IN_PIE 1" >>confdefs.h fi + |