2016-10-11 16:50:19 +00:00
|
|
|
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
|
|
|
# Local configure fragment for sysdeps/powerpc/powerpc64le.
|
|
|
|
|
2017-06-05 19:18:54 +00:00
|
|
|
OLD_CFLAGS="$CFLAGS"
|
|
|
|
CFLAGS="$CFLAGS $libc_cv_cc_submachine"
|
2019-02-04 10:44:35 +00:00
|
|
|
|
2017-06-05 19:18:54 +00:00
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the target machine is at least POWER8" >&5
|
|
|
|
$as_echo_n "checking if the target machine is at least POWER8... " >&6; }
|
|
|
|
if ${libc_cv_target_power8_ok+:} false; then :
|
|
|
|
$as_echo_n "(cached) " >&6
|
|
|
|
else
|
|
|
|
|
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
|
|
|
#ifndef _ARCH_PWR8
|
|
|
|
#error invalid target architecture
|
|
|
|
#endif
|
|
|
|
|
|
|
|
_ACEOF
|
|
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
|
libc_cv_target_power8_ok=yes
|
|
|
|
else
|
|
|
|
libc_cv_target_power8_ok=no
|
|
|
|
fi
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
fi
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_target_power8_ok" >&5
|
|
|
|
$as_echo "$libc_cv_target_power8_ok" >&6; }
|
|
|
|
if test "$libc_cv_target_power8_ok" != "yes"; then :
|
|
|
|
critic_missing="$critic_missing POWER8 or newer is required on powerpc64le."
|
|
|
|
fi
|
|
|
|
CFLAGS="$OLD_CFLAGS"
|
|
|
|
|
2016-10-11 16:50:19 +00:00
|
|
|
test -n "$critic_missing" && as_fn_error $? "*** $critic_missing" "$LINENO" 5
|