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/csky | |
parent | 5a70ac9d39711528573439e01e249a8f825743ca (diff) | |
download | glibc-c6cb8783b5fb5896cb63fe9008b6a33351f3c777.tar.gz glibc-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>
Diffstat (limited to 'sysdeps/csky')
-rw-r--r-- | sysdeps/csky/configure | 3 | ||||
-rwxr-xr-x | sysdeps/csky/preconfigure | 15 |
2 files changed, 7 insertions, 11 deletions
diff --git a/sysdeps/csky/configure b/sysdeps/csky/configure index bcbcea089a..54872debd1 100644 --- a/sysdeps/csky/configure +++ b/sysdeps/csky/configure @@ -3,6 +3,7 @@ # PIE builds fail on binutils 2.37 and earlier, see: # https://sourceware.org/bugzilla/show_bug.cgi?id=28672 -$as_echo "#define PIE_UNSUPPORTED 1" >>confdefs.h +printf "%s\n" "#define PIE_UNSUPPORTED 1" >>confdefs.h # work around problem with autoconf and empty lines at the end of files + diff --git a/sysdeps/csky/preconfigure b/sysdeps/csky/preconfigure index 7f8621b607..d52b8aa078 100755 --- a/sysdeps/csky/preconfigure +++ b/sysdeps/csky/preconfigure @@ -34,7 +34,7 @@ csky*) { { 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 soft_float_abi_support=1 else @@ -60,17 +60,12 @@ csky*) base_machine=csky machine=csky/$machine - cat >>confdefs.h <<_ACEOF -#define CSKYABI $abi -_ACEOF + printf "%s\n" "#define CSKYABI $abi" >>confdefs.h - cat >>confdefs.h <<_ACEOF -#define CSKY_HARD_FLOAT $with_fp_cond -_ACEOF + printf "%s\n" "#define CSKY_HARD_FLOAT $with_fp_cond" >>confdefs.h - cat >>confdefs.h <<_ACEOF -#define CSKY_HARD_FLOAT_ABI $with_hard_float_abi -_ACEOF + printf "%s\n" "#define CSKY_HARD_FLOAT_ABI $with_hard_float_abi" >>confdefs.h ;; esac + |