about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/le/fpu/multiarch/configure
blob: 130e3bebc728441f4bd573572bda17014191b156 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is generated from configure.ac by Autoconf.  DO NOT EDIT!

OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -mcpu=power10"

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the compiler supports -mcpu=power10" >&5
printf %s "checking if the compiler supports -mcpu=power10... " >&6; }
if test ${libc_cv_mcpu_power10+y}
then :
  printf %s "(cached) " >&6
else $as_nop

cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */


_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  libc_cv_mcpu_power10=yes
else $as_nop
  libc_cv_mcpu_power10=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mcpu_power10" >&5
printf "%s\n" "$libc_cv_mcpu_power10" >&6; }
config_vars="$config_vars
mcpu-power10 = $libc_cv_mcpu_power10"
if test "$libc_cv_mcpu_power10" = "yes"
then :

	printf "%s\n" "#define USE_PPC64_MCPU_POWER10 1" >>confdefs.h

fi
CFLAGS="$OLD_CFLAGS"