Remove powerpc special cases in configure.ac.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 26 Jun 2014 17:34:27 +0000 (17:34 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 26 Jun 2014 17:34:27 +0000 (17:34 +0000)
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.

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

ChangeLog
configure
configure.ac

index e90652f..4b26a77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
+
        * configure.ac (libc_cv_asm_cfi_directives): Remove configure
        test.
        * configure: Regenerated.
index eefc430..ea44f64 100755 (executable)
--- 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.
index 22c2b4c..f8d7860 100644 (file)
@@ -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]),