glibc/sysdeps/powerpc/configure.ac
Mike Frysinger cb8a6dbd17 rename configure.in to configure.ac
Autoconf has been deprecating configure.in for quite a long time.
Rename all our configure.in and preconfigure.in files to .ac.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-10-30 17:32:08 +10:00

22 lines
581 B
Plaintext

GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/powerpc.
# Accept binutils which knows about ".machine".
AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl
cat > conftest.s <<\EOF
.machine "altivec"
blr
EOF
if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
libc_cv_ppc_machine=yes
else
libc_cv_ppc_machine=no
fi
rm -f conftest*])
if test $libc_cv_ppc_machine != yes; then
AC_MSG_ERROR([
*** A binutils version which can handle
*** .machine "altivec"
*** is needed.])
fi