From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
To: Andreas Schwab <schwab@suse.de>
Cc: gcc@gcc.gnu.org, binutils@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: Overlapping patterns in toplevel configure.in
Date: Tue, 09 Apr 2002 02:26:00 -0000 [thread overview]
Message-ID: <20020409092552.GH545@rembrandt.csv.ica.uni-stuttgart.de> (raw)
In-Reply-To: <jeofgt5k0r.fsf@sykes.suse.de>
Andreas Schwab wrote:
> The toplevel congfigure.in script contains a case pattern *-*-linux* that
> overrules the pattern mips*-*-linux*. The first pattern only exists in
> the gcc repository, not in the src repository. There are also other linux
> cases that are not a superset of the generic *-*-linux* case. What is the
> best way to resolve that?
What about doing the minimum needed to fix it? The patch below moves
it downwards and updates the mips case.
> Perhaps the generic linux pattern should be
> moved to a separate case statement. But there is also a catch-all
> pattern at the end that disables libgcj for all not explicitly mentioned
> targets unless --enable-libgcj is given. In other words, it's a big
> mess. :-(
The check about rx is always the same and could be moved in a seperate
statement.
Thiemo
--- configure.in Thu Mar 28 00:32:31 2002
+++ configure.in.mipsfix Tue Apr 9 11:14:24 2002
@@ -796,11 +796,6 @@ case "${target}" in
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
- *-*-linux*)
- noconfigdirs="$noconfigdirs target-newlib target-libgloss"
- # linux has rx in libc
- skipdirs="$skipdirs target-librx"
- ;;
i[3456]86-*-mingw32*)
target_configdirs="$target_configdirs target-mingw"
noconfigdirs="$noconfigdirs expect target-libgloss ${libgcj}"
@@ -951,7 +946,9 @@ case "${target}" in
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
;;
mips*-*-linux*)
- noconfigdirs="$noconfigdirs target-libffi"
+ noconfigdirs="$noconfigdirs target-libffi target-newlib target-libgloss"
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof ${libgcj}"
@@ -1023,6 +1020,11 @@ case "${target}" in
;;
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
+ ;;
+ *-*-linux*)
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+ # linux has rx in libc
+ skipdirs="$skipdirs target-librx"
;;
*-*-lynxos*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
next prev parent reply other threads:[~2002-04-09 9:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-09 1:55 Andreas Schwab
2002-04-09 2:26 ` Thiemo Seufer [this message]
2002-04-09 2:34 ` Andreas Schwab
2002-04-09 6:28 ` DJ Delorie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020409092552.GH545@rembrandt.csv.ica.uni-stuttgart.de \
--to=ica2_ts@csv.ica.uni-stuttgart.de \
--cc=binutils@sources.redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=gdb@sources.redhat.com \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox