glibc/sysdeps/powerpc/powerpc64/le/fpu/multiarch/configure
Andreas K. Hüttel 98ffc1bfeb
Convert to autoconf 2.72 (vanilla release, no distribution patches)
As discussed at the patch review meeting

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Reviewed-by: Simon Chopin <simon.chopin@canonical.com>
2024-06-17 21:15:28 +02:00

39 lines
1,000 B
Text

# 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 case e in #(
e)
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 case e in #(
e) libc_cv_mcpu_power10=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
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"