1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local preconfigure fragment for sysdeps/powerpc
6 base_machine=powerpc machine=powerpc/powerpc64/le
9 base_machine=powerpc machine=powerpc/powerpc64/be
12 base_machine=powerpc machine=powerpc/powerpc32
13 with_fp_cond="!defined __NO_FPRS__"
16 # SPE support was dropped in glibc 2.30.
17 as_fn_error $? "Host system type $host is no longer supported." "$LINENO" 5
23 # Lets ask the compiler which Power processor we've got, in case the user did
24 # not choose a --with-cpu value. Scan a trivial generated assembly program
25 # and scrape the first
28 # .ascii "-mcpu=<machine>"
29 # directive which shows up, and try using it.
30 case "${machine}:${submachine}" in
32 archcpu=`echo "int foo () { return 0; }" \
33 | $CC $CFLAGS $CPPFLAGS -S -frecord-gcc-switches -xc -o - - \
34 | grep -E "mcpu=|.machine" -m 1 \
35 | sed -e "s/.*machine //" -e "s/.*mcpu=\(.*\)\"/\1/"`
36 # Note if you add patterns here you must ensure that an appropriate
37 # directory exists in sysdeps/powerpc. Likewise, if we find a
38 # cpu, don't let the generic configure append extra compiler options.
40 405fp|440fp|464fp|476fp)
41 submachine=${archcpu%fp}
42 if ${libc_cv_cc_submachine+:} false; then :
43 $as_echo_n "(cached) " >&6
45 libc_cv_cc_submachine=""
51 if ${libc_cv_cc_submachine+:} false; then :
52 $as_echo_n "(cached) " >&6
54 libc_cv_cc_submachine=""
59 a2|970|power[4-9]|power5x|power6+|power10)
61 if ${libc_cv_cc_submachine+:} false; then :
62 $as_echo_n "(cached) " >&6
64 libc_cv_cc_submachine=""
69 # We couldn't figure it out, assume none