* [patch] slight toplevel configure.in rearrangment
@ 2002-07-04 10:19 Nathanael Nerode
0 siblings, 0 replies; only message in thread
From: Nathanael Nerode @ 2002-07-04 10:19 UTC (permalink / raw)
To: gcc-patches; +Cc: gdb-patches, binutils, dj
Slight rearrangement which I found necessary when autoconfiscating.
2002-07-04 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Rearrange a little.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.168
diff -u -r1.168 configure.in
--- configure.in 3 Jul 2002 22:50:35 -0000 1.168
+++ configure.in 4 Jul 2002 17:14:24 -0000
@@ -1161,25 +1161,6 @@
host_makefile_frag=mh-frag
fi
-# If we aren't going to be using gcc, see if we can extract a definition
-# of CC from the fragment.
-# Actually, use the 'pre-extracted' version above.
-if test -z "${CC}" && test "${build}" = "${host}" ; then
- IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
- found=
- for dir in $PATH; do
- test -z "$dir" && dir=.
- if test -f $dir/gcc; then
- found=yes
- break
- fi
- done
- IFS="$save_ifs"
- if test -z "${found}" && test -n "${tentative_cc}" ; then
- CC=$tentative_cc
- fi
-fi
-
case "${target}" in
v810*)
target_makefile_frag="config/mt-v810"
@@ -1311,6 +1292,25 @@
withoptions="$withoptions -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
;;
esac
+
+# If we aren't going to be using gcc, see if we can extract a definition
+# of CC from the fragment.
+# Actually, use the 'pre-extracted' version above.
+if test -z "${CC}" && test "${build}" = "${host}" ; then
+ IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
+ found=
+ for dir in $PATH; do
+ test -z "$dir" && dir=.
+ if test -f $dir/gcc; then
+ found=yes
+ break
+ fi
+ done
+ IFS="$save_ifs"
+ if test -z "${found}" && test -n "${tentative_cc}" ; then
+ CC=$tentative_cc
+ fi
+fi
# post-target:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-04 17:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-04 10:19 [patch] slight toplevel configure.in rearrangment Nathanael Nerode
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).