mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 22:00:08 +00:00
c6cb8783b5
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>
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
|
# Local preconfigure fragment for sysdeps/loongarch
|
|
|
|
case "$machine" in
|
|
loongarch*)
|
|
|
|
abi=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | sed -n 's/^#define __loongarch_\(lp64\|ilp32\).*/\1/p'`
|
|
float_abi=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | sed -n 's/^#define __loongarch_\(soft\|single\|double\)_float.*/\1/p'`
|
|
|
|
with_fp_cond="!defined __loongarch_soft_float"
|
|
|
|
case "$float_abi" in
|
|
soft)
|
|
abi_flen=0
|
|
;;
|
|
single)
|
|
as_fn_error 1 "glibc does not yet support the single floating-point ABI!!" "$LINENO" 5
|
|
;;
|
|
double)
|
|
abi_flen=64
|
|
;;
|
|
*)
|
|
as_fn_error 1 "Unable to determine floating-point ABI!!" "$LINENO" 5
|
|
;;
|
|
esac
|
|
|
|
case "$abi" in
|
|
ilp32)
|
|
as_fn_error 1 "loongarch does not yet support ilp32 ABI!!" "$LINENO" 5
|
|
;;
|
|
lp64)
|
|
grlen=64
|
|
machine=loongarch/lp64
|
|
;;
|
|
*)
|
|
as_fn_error 1 "Unable to determine GRLEN!!" "$LINENO" 5
|
|
;;
|
|
esac
|
|
|
|
printf "%s\n" "#define LOONGARCH_ABI_GRLEN $grlen" >>confdefs.h
|
|
|
|
printf "%s\n" "#define LOONGARCH_ABI_FRLEN $abi_flen" >>confdefs.h
|
|
|
|
|
|
base_machine=loongarch
|
|
;;
|
|
esac
|
|
|
|
|