diff options
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure index 092e20e..35896de 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -4330,6 +4330,30 @@ EOF eval `${CC-cc} -E conftest.c | grep host_address=` rm -f conftest.c +case ${host} in +mips*-*-*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5 +$as_echo_n "checking whether the target is hard-float... " >&6; } +if test "${libgcc_cv_mips_hard_float+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __mips_hard_float + #error FOO + #endif +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + libgcc_cv_mips_hard_float=yes +else + libgcc_cv_mips_hard_float=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5 +$as_echo "$libgcc_cv_mips_hard_float" >&6; } +esac + # Collect host-machine-specific information. . ${srcdir}/config.host |