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/riscv | |
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/riscv')
-rw-r--r-- | sysdeps/riscv/configure | 18 | ||||
-rw-r--r-- | sysdeps/riscv/preconfigure | 9 |
2 files changed, 13 insertions, 14 deletions
diff --git a/sysdeps/riscv/configure b/sysdeps/riscv/configure index 2372225a26..acd1f5e743 100644 --- a/sysdeps/riscv/configure +++ b/sysdeps/riscv/configure @@ -2,11 +2,12 @@ # Local configure fragment for sysdeps/riscv/elf. # Check if static linker supports R_RISCV_ALIGN -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for R_RISCV_ALIGN linker relaxation support" >&5 -$as_echo_n "checking for R_RISCV_ALIGN linker relaxation support... " >&6; } -if ${libc_cv_riscv_r_align+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for R_RISCV_ALIGN linker relaxation support" >&5 +printf %s "checking for R_RISCV_ALIGN linker relaxation support... " >&6; } +if test ${libc_cv_riscv_r_align+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat > conftest.S <<EOF .align 3 foo: @@ -18,14 +19,15 @@ 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 libc_cv_riscv_r_align=yes fi rm -rf conftest.* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_riscv_r_align" >&5 -$as_echo "$libc_cv_riscv_r_align" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_riscv_r_align" >&5 +printf "%s\n" "$libc_cv_riscv_r_align" >&6; } config_vars="$config_vars riscv-r-align = $libc_cv_riscv_r_align" + diff --git a/sysdeps/riscv/preconfigure b/sysdeps/riscv/preconfigure index 4dedf4b0bb..a5de5ccb7d 100644 --- a/sysdeps/riscv/preconfigure +++ b/sysdeps/riscv/preconfigure @@ -58,13 +58,10 @@ riscv*) base_machine=riscv machine=riscv/rv$xlen/$float_machine - cat >>confdefs.h <<_ACEOF -#define RISCV_ABI_XLEN $xlen -_ACEOF + printf "%s\n" "#define RISCV_ABI_XLEN $xlen" >>confdefs.h - cat >>confdefs.h <<_ACEOF -#define RISCV_ABI_FLEN $abi_flen -_ACEOF + printf "%s\n" "#define RISCV_ABI_FLEN $abi_flen" >>confdefs.h ;; esac + |