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/s390/s390-64 | |
parent | 5a70ac9d39711528573439e01e249a8f825743ca (diff) | |
download | glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar.gz glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar.bz2 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>
Diffstat (limited to 'sysdeps/s390/s390-64')
-rw-r--r-- | sysdeps/s390/s390-64/configure | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sysdeps/s390/s390-64/configure b/sysdeps/s390/s390-64/configure index 19a9c8a27b..2784f158ea 100644 --- a/sysdeps/s390/s390-64/configure +++ b/sysdeps/s390/s390-64/configure @@ -4,12 +4,13 @@ # Minimal checking for static PIE support in ld. # Compare to ld testcase/bugzilla: # <binutils-source>/ld/testsuite/ld-elf/pr22263-1.rd -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for s390-specific static PIE requirements" >&5 -$as_echo_n "checking for s390-specific static PIE requirements... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for s390-specific static PIE requirements" >&5 +printf %s "checking for s390-specific static PIE requirements... " >&6; } if { as_var=\ -libc_cv_s390x_staticpie_req; eval \${$as_var+:} false; }; then : - $as_echo_n "(cached) " >&6 -else +libc_cv_s390x_staticpie_req; eval test \${$as_var+y}; } +then : + printf %s "(cached) " >&6 +else $as_nop cat > conftest1.c <<EOF __thread int * foo; @@ -36,25 +37,25 @@ 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; }; } \ && { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest2.c -o conftest2.o' { { 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; }; } \ && { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -o conftest conftest1.o conftest2.o' { { 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; }; } \ && { ac_try='! LC_ALL=C $READELF -Wr conftest | grep R_390_TLS_TPOFF' { { 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_cv_s390x_staticpie_req=yes @@ -63,8 +64,8 @@ EOF fi eval ac_res=\$\ libc_cv_s390x_staticpie_req - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if test $libc_cv_s390x_staticpie_req = yes; then # Static PIE is supported only on 64bit. # Ensure you also have those patches for: @@ -117,6 +118,7 @@ if test $libc_cv_s390x_staticpie_req = yes; then # https://sourceware.org/git/?p=glibc.git;a=commit;h=f787e138aa0bf677bf74fa2a08595c446292f3d7 # The mentioned patch series by Florian Weimer avoids the mentioned failing # sbrk syscall by falling back to mmap. - $as_echo "#define SUPPORT_STATIC_PIE 1" >>confdefs.h + printf "%s\n" "#define SUPPORT_STATIC_PIE 1" >>confdefs.h fi + |