From: Ben Elliston <bje@redhat.com>
To: binutils@sources.redhat.com, gcc-patches@gcc.gnu.org,
gdb-patches@sources.redhat.com
Subject: Top-level configure.in patch
Date: Tue, 18 Sep 2001 20:55:00 -0000 [thread overview]
Message-ID: <15272.5937.195468.61032@scooby.brisbane.redhat.com> (raw)
The ChangeLog entry for this patch ought to provide sufficient
explanation. I have tested this with a wide variety of shells. Okay
to commit?
2001-09-19 Ben Elliston <bje@redhat.com>
* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
semantics. Use the shell built-in "type" command instead.
Index: configure.in
===================================================================
RCS file: /cvs/cvsfiles/devo/configure.in,v
retrieving revision 1.728
diff -u -c -r1.728 configure.in
*** configure.in 2001/09/13 13:28:37 1.728
--- configure.in 2001/09/19 03:53:16
***************
*** 1506,1512 ****
case "${host}" in
sparc-sun-solaris2*)
CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
! if [ "`/usr/bin/which $CCBASE`" = "/usr/ucb/cc" ] ; then
could_use=
[ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
if [ -d /opt/cygnus/bin ] ; then
--- 1506,1512 ----
case "${host}" in
sparc-sun-solaris2*)
CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
! if [ "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ] ; then
could_use=
[ -d /opt/SUNWspro/bin ] && could_use="/opt/SUNWspro/bin"
if [ -d /opt/cygnus/bin ] ; then
next reply other threads:[~2001-09-18 20:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-18 20:55 Ben Elliston [this message]
2001-09-18 22:15 ` Ian Lance Taylor
2001-09-18 23:00 ` Ben Elliston
2002-06-24 8:08 top-level " Ben Elliston
2002-06-24 10:33 ` 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=15272.5937.195468.61032@scooby.brisbane.redhat.com \
--to=bje@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sources.redhat.com \
/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