Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 80098 invoked by uid 500); 9 Jan 2001 19:02:15 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 79176 invoked from network); 9 Jan 2001 19:02:06 -0000 X-Authentication-Warning: kurgan.lyra.org: gstein set sender to gstein@lyra.org using -f Date: Tue, 9 Jan 2001 11:02:30 -0800 From: Greg Stein To: new-httpd@apache.org, jim@jaguNET.com Subject: Re: FINAL_* flags ? Message-ID: <20010109110230.U4640@lyra.org> Mail-Followup-To: new-httpd@apache.org, jim@jaguNET.com References: <200101091745.MAA11336@devsys.jaguNET.com> <200101091748.MAA11369@devsys.jaguNET.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200101091748.MAA11369@devsys.jaguNET.com>; from jim@jaguNET.com on Tue, Jan 09, 2001 at 12:48:07PM -0500 X-URL: http://www.lyra.org/greg/ X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Tue, Jan 09, 2001 at 12:48:07PM -0500, Jim Jagielski wrote: > Jim Jagielski wrote: > > > > Here's the concept: We create a family of env vars, called > > FINAL_* (eg: FINAL_CFLAGS) that are passed to all configures. > > Looks like we could then add this to the COMPILE line in > > rules.mk if I'm reading that right. > > with a bit of minor addition to fastgen.sh to store it in > the Makefiles Hrm... we're getting a real explosion of flags, rather than dropping back and looking at the problem from scratch. This will mean we have CFLAGS, EXTRA_CFLAGS, and FINAL_CFLAGS. Then throw in OPTIM for good measure, and I bet there are one or two others that I'm not thinking of. IMO, we should just have: input: CFLAGS output: (autoconf-discovered-)CFLAGS USER_CFLAGS We can pass USER_CFLAGS to the sub-configures as CFLAGS. Like any normal autoconf script, they read CFLAGS on input and propagate that into the output CFLAGS. Note that (I believe) it is normal behavior for an autoconf script to read CFLAGS on input. That's at least the expectation (and evidenced by Ben's attempt to do "CFLAGS=-Werror ./configure" Cheers, -g -- Greg Stein, http://www.lyra.org/