about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-03 06:48:24 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-10 06:08:24 -0500
commit83658961f00dce5e4d8a3e52cd7268ea191a96eb (patch)
tree2dfcb530e4da35b29dcc10059218f768d7119b28 /sysdeps/powerpc
parent92ac062ff638472aa3eeae1b895233d545aaf830 (diff)
downloadglibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.tar.gz
glibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.tar.xz
glibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.zip
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.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/configure33
-rw-r--r--sysdeps/powerpc/configure.ac21
2 files changed, 0 insertions, 54 deletions
diff --git a/sysdeps/powerpc/configure b/sysdeps/powerpc/configure
deleted file mode 100644
index fccee659a0..0000000000
--- a/sysdeps/powerpc/configure
+++ /dev/null
@@ -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
diff --git a/sysdeps/powerpc/configure.ac b/sysdeps/powerpc/configure.ac
deleted file mode 100644
index 28cc85934d..0000000000
--- a/sysdeps/powerpc/configure.ac
+++ /dev/null
@@ -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