This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update for AC_PROG_STDC_CC fix


>  > > * 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]