autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make special accommodation for cl in _AC_PROG_CC_G


From: Braden McDaniel
Subject: Re: Make special accommodation for cl in _AC_PROG_CC_G
Date: Fri, 29 Aug 2003 08:32:58 -0400

On Tue, 2003-08-12 at 09:20, Braden McDaniel wrote:
> On Fri, 2003-07-18 at 00:10, Paul Eggert wrote:
> > Braden McDaniel <address@hidden> writes:
> > 
> > > > Maybe some other strategy would be more general.  Like checking that
> > > > adding -g both works and doesn't output any extra messages, or
> > > > something like that.
> > > 
> > > I think finding out what "extra" is would be extremely difficult, if not 
> > > impossible, to do in a general way.
> > 
> > No, it's easy.
> > 
> > 1.  Compile without -g.  Save the output.  E.g., without_g=`cc -g foo.c`.
> > 2.  Compile with -g.  Save the output.  E.g., with_g=`cc foo.c`.
> > 3.  Compare the two.  E.g., if test "x$without_g" = "x$with_g"; then ....
> 
> Alright... Here's a patch that does that.

Anyone care to comment on this patch?

-- 
Braden McDaniel                           e-mail: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]