From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15589 invoked by alias); 19 Dec 2001 16:30:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13214 invoked from network); 19 Dec 2001 16:29:22 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 19 Dec 2001 16:29:22 -0000 Received: from porcupine.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id IAA15940 for ; Wed, 19 Dec 2001 08:29:20 -0800 (PST) Received: from porcupine.cygnus.com (law@localhost) by porcupine.cygnus.com (8.11.6/8.11.6) with ESMTP id fBJGSqS21215; Wed, 19 Dec 2001 09:28:52 -0700 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 To: Andrew Cagney cc: gdb-patches@sources.redhat.com Subject: Re: Update for AC_PROG_STDC_CC fix Reply-To: law@redhat.com From: law@redhat.com In-reply-to: Your message of Wed, 19 Dec 2001 10:06:09 GMT. <3C206691.2010005@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 19 Dec 2001 08:30:00 -0000 Message-ID: <21214.1008779331@porcupine.cygnus.com> X-SW-Source: 2001-12/txt/msg00462.txt.bz2 > 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. True, that would be a problem. I wouldn't have mentioned the idea of zapping AM_PROG_CC_STDC except for the fact that I couldn't figure out if/how it would ever be used. It seems to me like the various Makefiles associated with gdb use CC, but I couldn't find the mechanism by which CC was assigned the result of AM_PROG_CC_STDC. But apparently by some magic it does happen. This in turn begs the question -- if we rename AM_PROG_CC_STDC to GDB_PROG_CC_STDC will the value computed by GDB_PROG_CC_STDC still be used to initialize CC in the generated Makefile? I can try some experiments, but it would really be better if someone who understands autoconf/automake better could give me some insight into what unintended consequences we might have due to the name change. jeff