1GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 2 3OLD_CFLAGS="$CFLAGS" 4CFLAGS="$CFLAGS -mcpu=power10" 5AC_CACHE_CHECK([if the compiler supports -mcpu=power10], 6 libc_cv_mcpu_power10, [ 7AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ 8]])], 9 [libc_cv_mcpu_power10=yes], 10 [libc_cv_mcpu_power10=no])]) 11LIBC_CONFIG_VAR([mcpu-power10], [$libc_cv_mcpu_power10]) 12AS_IF([[test "$libc_cv_mcpu_power10" = "yes"]],[ 13 AC_DEFINE(USE_PPC64_MCPU_POWER10)]) 14CFLAGS="$OLD_CFLAGS" 15