powerpc: Fix __fesetround_inline_nocheck on POWER9+ (BZ 31682)
[glibc.git] / sysdeps / x86_64 / preconfigure.ac
blob600700ea1a6a423994fd039c5d9ef06e8e1de43b
1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2 # Local preconfigure fragment for sysdeps/x86_64
4 test -n "$base_machine" || case "$machine" in
5 x86_64)
6   base_machine=x86_64
7   # Check if we are building for x32.
8   AC_CACHE_CHECK(whether $CC compiles in -mx32 mode by default,
9                  libc_cv_x32, [dnl
10   AC_TRY_COMPILE(dnl
11 [#ifndef __ILP32__
12 # error not x32
13 #endif], [], libc_cv_x32=yes, libc_cv_x32=no)])
14   if test $libc_cv_x32 = yes; then
15     machine=x86_64/x32
16   else
17     machine=x86_64/64
18   fi
19   ;;
20 esac