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: Tom Tromey <tromey at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: law at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: 19 Dec 2001 10:36:04 -0700
- Subject: Re: Update for AC_PROG_STDC_CC fix
- References: <18104.1008708596@porcupine.cygnus.com> <3C206691.2010005@cygnus.com>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
>> 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.
Andrew> Isn't something needed for HP/UX to get the compiler into the right
Andrew> mode? But yes I agree, even after renaming the macro, there is a
Andrew> problem with prog_cc_stdc clashes.
I think clashes should only be a problem if you are using different
versions of this macro in different directories. If so, that's a
no-no. It has always been the case that all configure scripts in a
given project must agree about how to compute cache values. I think
this is an undocumented requirement :-(, but careful examination of
the ChangeLogs will show bug fixes for problems like this dating back
at least to 1996.
HTH,
Tom