Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 21897 invoked by uid 6000); 7 Dec 1999 08:13:52 -0000 Received: (qmail 21890 invoked from network); 7 Dec 1999 08:13:51 -0000 Received: from dillinger.io.com (manojk@199.170.88.20) by taz.hyperreal.org with SMTP; 7 Dec 1999 08:13:51 -0000 Received: (from manojk@localhost) by dillinger.io.com (8.9.1/8.9.1a) id CAA06722 for new-httpd@apache.org; Tue, 7 Dec 1999 02:13:49 -0600 (CST) Date: Tue, 7 Dec 1999 02:13:49 -0600 From: Manoj Kasichainula To: new-httpd@apache.org Subject: Re: Apache autoconf leakage :-) Message-ID: <19991207021349.A6672@io.com> Mail-Followup-To: new-httpd@apache.org References: <199912062247.RAA02799@devsys.jaguNET.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.1.1i In-Reply-To: <199912062247.RAA02799@devsys.jaguNET.com>; from jim@devsys.jaguNET.com on Mon, Dec 06, 1999 at 05:47:26PM -0500 Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Status: O On Mon, Dec 06, 1999 at 05:47:26PM -0500, Jim Jagielski wrote: > Yeah... basically the idea was/is to create another macro, AC_P_DEFINE > which added a prefix to the arguments. For example: > > AC_P_DEFINE(APR_,HAVE_STDIO) > > would result in #define APR_HAVE_STDIO How would this help? The problem isn't that we can't define APR_ prefixed macros; just do AC_DEFINE(APR_HAVE_STDIO). And this is m4, so I'm sure we can do something like AC_DEFINE([$1]_HAVE_STDIO) if we want; AC_P_DEFINE should be unnecessary. The problem (assuming that we think namespacing is the solution, which I don't) is that the built-in autoconf macros, like AC_HEADER_STDC, don't use a prefix. Either there has to be an AC_AUTOPREFIX, or every single call to AC_DEFINE(blah) in the autoconf macros has to be changed to AC_DEFINE([$5]_blah). -- Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/ "Cheese is a useful thing, too. Should WebDAV have cheese?" -- Larry Masinter