Remove powerpc special cases in configure.ac

Message ID Pine.LNX.4.64.1406261713370.11254@digraph.polyomino.org.uk
State Committed
Headers

Commit Message

Joseph Myers June 26, 2014, 5:14 p.m. UTC
  This patch removes two powerpc special cases in the main configure.ac.
The test for rs6000 is irrelevant to currently supported
configurations (config.guess reports rs6000 for some OSes, of which
the only one currently supported by GCC is AIX, but not for Linux).
There's no need either for a special case for powerpc*-*soft;
--without-fp suffices, and GCC doesn't have any special handling of
such a triplet.

Not tested.

2014-06-26  Joseph Myers  <joseph@codesourcery.com>

	* configure.ac: Do not test for machine being rs6000.  Do not test
	for powerpc*-*soft.
	* configure: Regenerated.
  

Comments

Roland McGrath June 26, 2014, 5:18 p.m. UTC | #1
Looks fine.
  

Patch

diff --git a/configure b/configure
index ac5a67c..9929ebb 100755
--- a/configure
+++ b/configure
@@ -3761,19 +3761,6 @@  vendor=$config_vendor
 os=$config_os
 base_os=''
 
-# config.guess on some IBM machines says `rs6000' instead of `powerpc'.
-# Unify this here.
-if test "$machine" = rs6000; then
-  machine="powerpc"
-fi
-
-# Braindead PowerPC box with absolutely no FPU.
-case "$machine-$host_os" in
-  powerpc*-*soft)
-    with_fp=no
-    ;;
-esac
-
 submachine=
 
 # Check whether --with-cpu was given.
diff --git a/configure.ac b/configure.ac
index bd3e829..63e1f58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -398,19 +398,6 @@  vendor=$config_vendor
 os=$config_os
 base_os=''
 
-# config.guess on some IBM machines says `rs6000' instead of `powerpc'.
-# Unify this here.
-if test "$machine" = rs6000; then
-  machine="powerpc"
-fi
-
-# Braindead PowerPC box with absolutely no FPU.
-case "$machine-$host_os" in
-  powerpc*-*soft)
-    with_fp=no
-    ;;
-esac
-
 submachine=
 AC_ARG_WITH([cpu],
 	    AS_HELP_STRING([--with-cpu=CPU], [select code for CPU variant]),