This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Remove powerpc special cases in configure.ac
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>, Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Date: Thu, 26 Jun 2014 17:14:28 +0000
- Subject: Remove powerpc special cases in configure.ac
- Authentication-results: sourceware.org; auth=none
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.
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]),
--
Joseph S. Myers
joseph@codesourcery.com