This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Update for AC_PROG_STDC_CC fix
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: law at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 Dec 2001 10:06:09 +0000
- Subject: Re: Update for AC_PROG_STDC_CC fix
- References: <18104.1008708596@porcupine.cygnus.com>
> > > * acinclude.m4 (AM_PROG_CC_STDC): New macro to override the broken
> > > one in automake. Uses -Ae, not -Aa to put HP compiler into ANSI
> > > with extensions mode.
> > > * aclocal.m4: Rebuilt.
> > > > > > Mostly ok. Before checking it in can you please tweek the name to be
> > something else (GDB_PROG_CC_STDC?) and modify the description to mention
> > how it is different to AM_PROG_CC_STDC.
> Or better yet, can we get rid of it completely from GDB? The only reason
> this causes problems is the bogus definition of prog_cc_stdc found when
> configuring gdb bleeds into other directories which use prog_cc_stdc
> via a shared config.cache.
Isn't something needed for HP/UX to get the compiler into the right
mode? But yes I agree, even after renaming the macro, there is a
problem with prog_cc_stdc clashes.
> I haven't followed things closely enough to know if that's viable or not
> (not to mention my lack of knowledge regarding autoconf/automake).
Ditto. Tom?
> > Are you able to pull this into the 5.1 branch or do you want me to?
> I can if we in fact do need a CC_STDC definition for gdb.
Andrew