Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 2635 invoked by uid 6000); 21 Dec 1998 22:54:16 -0000 Received: (qmail 2614 invoked from network); 21 Dec 1998 22:54:14 -0000 Received: from thoth.mch.sni.de (192.35.17.2) by taz.hyperreal.org with SMTP; 21 Dec 1998 22:54:14 -0000 X-Envelope-Sender-Is: martin.kraemer@mch.sni.de (at relayer thoth.mch.sni.de) Received: from horus.mch.sni.de (horus.mch.sni.de [139.25.208.11]) by thoth.mch.sni.de (8.9.1a/8.9.1) with ESMTP id XAA20722 for ; Mon, 21 Dec 1998 23:54:13 +0100 (MET) Received: from deejai.mch.sni.de (deejai.mch.sni.de [139.25.105.242]) by horus.mch.sni.de (8.9.1a/8.9.1) with ESMTP id XAA29693 for ; Mon, 21 Dec 1998 23:54:12 +0100 (MET) Received: (from martin@localhost) by deejai.mch.sni.de (8.8.7/8.8.7(UNIX)) id XAA10797 for new-httpd@apache.org; Mon, 21 Dec 1998 23:54:12 +0100 (MET) Message-ID: <19981221235410.B10538@deejai.mch.sni.de> Date: Mon, 21 Dec 1998 23:54:10 +0100 From: Martin Kraemer To: new-httpd@apache.org Subject: Re: FW: general/3563: I want to allow the definition and use of macros within runtime configuration files. References: <199812211656.RAA26711@blonville.caii> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Dean Gaudet on Mon, Dec 21, 1998 at 01:55:25PM -0800 X-Operating-System: SINIX-D 5.41 C1001 X-Organization: Siemens AG (Muenchen, W.Germany) X-Phone: +49-89-636-46021 X-Disclaimer: THE COMMENTS CONTAINED IN THIS MESSAGE REFLECT THE VIEWS OF THE WRITER AND ARE NOT NECESSARILY THE VIEWS OF SIEMENS AG X-No-Junk-Mail: I do not want to get *any* junk mail. Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Hmmm, I agree with Fabien that use of m4 is (powerful but) dangerous. Yes, Dean, one can redefine the quote char (but only to ONE char in AT&T Unix derivatives like SVR4). And the "native" m4 variants are unable to define a m4-prefix to all keywords (which makes any occurrences of any of the keywords in the input stream a PITA to deal with). Yes, you can redefine/undefine the keywords as well. But how much redefining will people tolerate for ONE simple substitution? I tried both the m4 and the cpp approaches with the fvwm config files, and they both just suck for the purpose of munching a general purpose configuration file. Think of just to avoid include to be treated as a keyword! "@$%&/(*'*# No, I think Fabien's solution is very neat, and his examples show solutions for everyday's problems. +1 by concept (I often would have loved to have this feature); but of course I'd like to evaluate it before I make a final decision. Martin -- | Siemens Information and Phone: +49-89-636-46021 | Communication Products FAX: +49-89-636-47816 | 81730 Munich, Germany