This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Prune empty cases from toplevel configure.ac
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: bonzini at gnu dot org, dj at redhat dot com, neroden at gcc dot gnu dot org, aoliva at redhat dot com, Ralf dot Wildenhues at gmx dot de
- Date: Mon, 21 Mar 2011 10:41:23 +0000 (UTC)
- Subject: Prune empty cases from toplevel configure.ac
This patch, relative to a tree with my deprecated targets removal patch
<http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01088.html> applied, further
cleans up the toplevel configure.ac by removing empty cases from a case
statement. The original patch still needs review by someone able to
approve the patch as a whole, but as the only apparent controversy so far
concerned empty cases I hope this patch can resolve the concerns over that
bit of the original patch.
The effect of removing empty cases in this particular case statement is
that any subsequent case matching the target, generally
*-*-*)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
comes into effect. That particular case is of no effect for targets with
no GCC support since they can't be trying to build libgcj or other GCC
target libraries anyway. All targets removed from the case statement by
this patch have no GCC support (after the deprecation patch). In
addition, some empty cases were left behind, either because the targets
did have GCC support or because a case other than *-*-* would trigger if
they were removed.
OK to commit?
2011-03-21 Joseph Myers <joseph@codesourcery.com>
* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss*
| i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
* configure: Regenerate.
--- configure.ac 2011-03-17 20:36:23.000000000 +0000
+++ configure.ac.new 2011-03-21 10:23:01.000000000 +0000
@@ -672,8 +672,6 @@
arc-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
- arm-semi-aof )
- ;;
arm-*-coff | strongarm-*-coff | xscale-*-coff)
noconfigdirs="$noconfigdirs ${libgcj}"
libgloss_dir=arm
@@ -743,8 +741,6 @@
esac
libgloss_dir=cris
;;
- crx-*-*)
- ;;
d10v-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
;;
@@ -778,7 +774,7 @@
# headers, crt*.o, etc., all of which are needed by these.
noconfigdirs="$noconfigdirs target-zlib"
;;
- parisc*-*-linux* | hppa*-*-linux*)
+ hppa*-*-linux*)
;;
hppa*-*-*elf* | \
hppa*-*-lites* | \
@@ -812,8 +808,6 @@
# No gdb or ld support yet.
noconfigdirs="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
;;
- i370-*-opened*)
- ;;
i[[3456789]]86-*-coff | i[[3456789]]86-*-elf)
noconfigdirs="$noconfigdirs ${libgcj}"
libgloss_dir=i386
@@ -857,8 +851,7 @@
echo "Warning: winsup/cygwin is missing so newlib can't be built."
fi
;;
- i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss* | \
- i[[3456789]]86-*-uwin* | i[[3456789]]86-*-interix* )
+ i[[3456789]]86-*-interix* )
;;
i[[3456789]]86-*-pe)
noconfigdirs="$noconfigdirs target-libgloss"
@@ -899,8 +892,6 @@
m68*-*-* | fido-*-*)
libgloss_dir=m68k
;;
- mcore-*-pe*)
- ;;
mmix-*-*)
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
unsupported_languages="$unsupported_languages fortran java"
--
Joseph S. Myers
joseph@codesourcery.com