1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/unix/sysv/linux/mips.
5 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8 #if (_MIPS_SIM != _ABIO32)
19 if ac_fn_c_try_compile "$LINENO"; then :
22 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25 #if (_MIPS_SIM != _ABIN32)
36 if ac_fn_c_try_compile "$LINENO"; then :
39 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42 #if (_MIPS_SIM != _ABI64)
53 if ac_fn_c_try_compile "$LINENO"; then :
56 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62 if test -z "$libc_mips_abi"; then
63 as_fn_error $? "could not determine what ABI the compiler is using" "$LINENO" 5
66 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69 #if !defined(__mips_soft_float)
80 if ac_fn_c_try_compile "$LINENO"; then :
83 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86 #if !defined(__mips_hard_float)
97 if ac_fn_c_try_compile "$LINENO"; then :
100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104 if test -z "$libc_mips_float"; then
105 as_fn_error $? "could not determine if compiler is using hard or soft floating point ABI" "$LINENO" 5
108 echo "default-abi := ${libc_mips_abi}_${libc_mips_float}" > default-abi.make
112 # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib.
113 # Allow earlier configure scripts to handle libc_cv_slibdir, libdir,
114 # and libc_cv_localedir.
115 test -n "$libc_cv_slibdir" || \
118 libc_cv_slibdir="/lib64"
119 if test "$libdir" = '${exec_prefix}/lib'; then
120 libdir='${exec_prefix}/lib64';
121 # Locale data can be shared between 32bit and 64bit libraries
122 libc_cv_localedir='${exec_prefix}/lib/locale'
126 libc_cv_slibdir="/lib32"
127 if test "$libdir" = '${exec_prefix}/lib'; then
128 libdir='${exec_prefix}/lib32';
129 # Locale data can be shared between 32bit and 64bit libraries
130 libc_cv_localedir='${exec_prefix}/lib/locale'
134 libc_cv_slibdir="/lib"
139 libc_cv_gcc_unwind_find_fde=yes