Fix libm fegetround namespace (bug 17748).
[glibc.git] / sysdeps / powerpc / configure
blobfccee659a0eb2c7343e4c2c630ec4fb9cb2ea385
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/powerpc.
4 # Accept binutils which knows about ".machine".
5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .machine support" >&5
6 $as_echo_n "checking for .machine support... " >&6; }
7 if ${libc_cv_ppc_machine+:} false; then :
8   $as_echo_n "(cached) " >&6
9 else
10   cat > conftest.s <<\EOF
11         .machine "altivec"
12         blr
13 EOF
14 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
15   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16   (eval $ac_try) 2>&5
17   ac_status=$?
18   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19   test $ac_status = 0; }; }; then
20   libc_cv_ppc_machine=yes
21 else
22   libc_cv_ppc_machine=no
24 rm -f conftest*
26 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_machine" >&5
27 $as_echo "$libc_cv_ppc_machine" >&6; }
28 if test $libc_cv_ppc_machine != yes; then
29   as_fn_error $? "
30 *** A binutils version which can handle
31 ***    .machine \"altivec\"
32 *** is needed." "$LINENO" 5