2.9
[glibc/nacl-glibc.git] / sysdeps / powerpc / configure
blob07e3d091b17e5942c7d1331b6a525508dd5d5017
1 # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/powerpc.
4 # Accept binutils which knows about ".machine".
5 echo "$as_me:$LINENO: checking for .machine support" >&5
6 echo $ECHO_N "checking for .machine support... $ECHO_C" >&6
7 if test "${libc_cv_ppc_machine+set}" = set; then
8   echo $ECHO_N "(cached) $ECHO_C" >&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:$LINENO: \"$ac_try\"") >&5
16   (eval $ac_try) 2>&5
17   ac_status=$?
18   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19   (exit $ac_status); }; }; then
20   libc_cv_ppc_machine=yes
21 else
22   libc_cv_ppc_machine=no
24 rm -f conftest*
26 echo "$as_me:$LINENO: result: $libc_cv_ppc_machine" >&5
27 echo "${ECHO_T}$libc_cv_ppc_machine" >&6
28 if test $libc_cv_ppc_machine != yes; then
29   { { echo "$as_me:$LINENO: error:
30 *** A binutils version which can handle
31 ***    .machine \"altivec\"
32 *** is needed." >&5
33 echo "$as_me: error:
34 *** A binutils version which can handle
35 ***    .machine \"altivec\"
36 *** is needed." >&2;}
37    { (exit 1); exit 1; }; }