From: Tom Tromey <tromey@redhat.com>
To: law@redhat.com
Cc: Andrew Cagney <ac131313@cygnus.com>, gdb-patches@sources.redhat.com
Subject: Re: Update for AC_PROG_STDC_CC fix
Date: Wed, 19 Dec 2001 09:59:00 -0000 [thread overview]
Message-ID: <87n10f6q71.fsf@creche.redhat.com> (raw)
In-Reply-To: law@redhat.com's message of "Wed, 19 Dec 2001 09:28:51 -0700"
>>>>> "Jeff" == law <law@redhat.com> writes:
Jeff> It seems to me like the various Makefiles associated with gdb use CC,
Jeff> but I couldn't find the mechanism by which CC was assigned the result
Jeff> of AM_PROG_CC_STDC. But apparently by some magic it does happen.
It happens at the end of AM_PROG_CC_STDC:
case "x$am_cv_prog_cc_stdc" in
x|xno) ;;
*) CC="$CC $am_cv_prog_cc_stdc" ;;
esac
Jeff> This in turn begs the question -- if we rename AM_PROG_CC_STDC
Jeff> to GDB_PROG_CC_STDC will the value computed by GDB_PROG_CC_STDC
Jeff> still be used to initialize CC in the generated Makefile?
Yes. You also have to rename the cache variables.
It is probably a bit better to just make sure all the directories in
gdb use the same AM_PROG_CC_STDC macro -- use the newest one.
If you do this then it seems to me that it will be a little easier to
pick up future bug fixes.
Tom
next prev parent reply other threads:[~2001-12-19 17:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-18 9:48 law
2001-12-18 12:35 ` Andrew Cagney
2001-12-18 12:51 ` law
2001-12-19 2:06 ` Andrew Cagney
2001-12-19 8:30 ` law
2001-12-19 9:59 ` Tom Tromey [this message]
2001-12-19 9:29 ` Tom Tromey
2001-12-19 9:55 ` law
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=87n10f6q71.fsf@creche.redhat.com \
--to=tromey@redhat.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=law@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