1# This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2
3OLD_CFLAGS="$CFLAGS"
4CFLAGS="$CFLAGS -mcpu=power10"
5
6{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports -mcpu=power10" >&5
7$as_echo_n "checking if the compiler supports -mcpu=power10... " >&6; }
8if ${libc_cv_mcpu_power10+:} false; then :
9  $as_echo_n "(cached) " >&6
10else
11
12cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13/* end confdefs.h.  */
14
15
16_ACEOF
17if ac_fn_c_try_compile "$LINENO"; then :
18  libc_cv_mcpu_power10=yes
19else
20  libc_cv_mcpu_power10=no
21fi
22rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23fi
24{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mcpu_power10" >&5
25$as_echo "$libc_cv_mcpu_power10" >&6; }
26config_vars="$config_vars
27mcpu-power10 = $libc_cv_mcpu_power10"
28if test "$libc_cv_mcpu_power10" == "yes"; then :
29
30	$as_echo "#define USE_PPC64_MCPU_POWER10 1" >>confdefs.h
31
32fi
33CFLAGS="$OLD_CFLAGS"
34