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/x86_64 | |
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/x86_64')
-rwxr-xr-x | sysdeps/x86_64/configure | 23 | ||||
-rw-r--r-- | sysdeps/x86_64/preconfigure | 25 |
2 files changed, 27 insertions, 21 deletions
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure index 44b6055..e307467 100755 --- a/sysdeps/x86_64/configure +++ b/sysdeps/x86_64/configure @@ -1,25 +1,27 @@ # This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/x86_64. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5 -$as_echo_n "checking -mprefer-vector-width=128... " >&6; } -if ${libc_cv_cc_mprefer_vector_width+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5 +printf %s "checking -mprefer-vector-width=128... " >&6; } +if test ${libc_cv_cc_mprefer_vector_width+y} +then : + printf %s "(cached) " >&6 +else $as_nop if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null' { { 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 - test $ac_status = 0; }; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } +then : libc_cv_cc_mprefer_vector_width=yes -else +else $as_nop libc_cv_cc_mprefer_vector_width=no fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5 -$as_echo "$libc_cv_cc_mprefer_vector_width" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5 +printf "%s\n" "$libc_cv_cc_mprefer_vector_width" >&6; } config_vars="$config_vars config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width" @@ -29,3 +31,4 @@ fi test -n "$critic_missing" && as_fn_error $? " *** $critic_missing" "$LINENO" 5 + diff --git a/sysdeps/x86_64/preconfigure b/sysdeps/x86_64/preconfigure index c8f1e0e..24996ba 100644 --- a/sysdeps/x86_64/preconfigure +++ b/sysdeps/x86_64/preconfigure @@ -6,33 +6,35 @@ x86_64) base_machine=x86_64 # Check if we are building for x32. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC compiles in -mx32 mode by default" >&5 -$as_echo_n "checking whether $CC compiles in -mx32 mode by default... " >&6; } -if ${libc_cv_x32+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC compiles in -mx32 mode by default" >&5 +printf %s "checking whether $CC compiles in -mx32 mode by default... " >&6; } +if test ${libc_cv_x32+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __ILP32__ # error not x32 #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : libc_cv_x32=yes -else +else $as_nop libc_cv_x32=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5 -$as_echo "$libc_cv_x32" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5 +printf "%s\n" "$libc_cv_x32" >&6; } if test $libc_cv_x32 = yes; then machine=x86_64/x32 else @@ -40,3 +42,4 @@ $as_echo "$libc_cv_x32" >&6; } fi ;; esac + |