mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 23:30:07 +00:00
powerpc: sysdeps/powerpc configure cleanup
Current minimum binutils supported (2.22) has ".machine altivec" support as default, so there is no need to add a configure check for such functionality. This patches removes the configure checks for it.
This commit is contained in:
parent
92ac062ff6
commit
83658961f0
@ -1,5 +1,8 @@
|
||||
2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/configure.ac: Remove file.
|
||||
* sysdeps/powerpc/configure: Likewise.
|
||||
|
||||
* sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
|
||||
[sysdep_routines]: Remove wordcopy-power6 object.
|
||||
* sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
|
||||
|
33
sysdeps/powerpc/configure
vendored
33
sysdeps/powerpc/configure
vendored
@ -1,33 +0,0 @@
|
||||
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
||||
# Local configure fragment for sysdeps/powerpc.
|
||||
|
||||
# Accept binutils which knows about ".machine".
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .machine support" >&5
|
||||
$as_echo_n "checking for .machine support... " >&6; }
|
||||
if ${libc_cv_ppc_machine+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat > conftest.s <<\EOF
|
||||
.machine "altivec"
|
||||
blr
|
||||
EOF
|
||||
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
|
||||
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }; then
|
||||
libc_cv_ppc_machine=yes
|
||||
else
|
||||
libc_cv_ppc_machine=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_machine" >&5
|
||||
$as_echo "$libc_cv_ppc_machine" >&6; }
|
||||
if test $libc_cv_ppc_machine != yes; then
|
||||
as_fn_error $? "
|
||||
*** A binutils version which can handle
|
||||
*** .machine \"altivec\"
|
||||
*** is needed." "$LINENO" 5
|
||||
fi
|
@ -1,21 +0,0 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user