Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 8641 invoked by uid 6000); 14 Oct 1997 16:35:31 -0000 Received: (qmail 8623 invoked from network); 14 Oct 1997 16:35:30 -0000 Received: from unknown (HELO mail3.bellglobal.com) (198.235.216.132) by taz.hyperreal.org with SMTP; 14 Oct 1997 16:35:30 -0000 Received: from inet-dev ([199.243.250.207]) by mail3.bellglobal.com (Netscape Mail Server v2.02) with SMTP id AAA26275 for ; Tue, 14 Oct 1997 12:34:20 -0400 Date: Tue, 14 Oct 1997 12:37:20 -0400 (EDT) From: rasmus@bellglobal.com Subject: include in conf.h? To: new-httpd@apache.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org httpd.h includes conf.h which in turn does a #include When compiling with WANTHSREGEX=yes, this is a problem. It is a bit of a chicken-and-egg problem. When compiling a standalone module, the module needs to include httpd.h. The WANTHSREGEX setting is not determined until the Apache Configure script is run. httpd.h is not affected by this. So, it isn't really possible to know which regex.h to include in httpd.h/conf.h. The solution is probably to move things around a little bit such that the regex.h include is not tied to httpd.h in any way. -Rasmus