httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@bellglobal.com
Subject include <regex.h> in conf.h?
Date Tue, 14 Oct 1997 16:37:20 GMT
httpd.h includes conf.h which in turn does a #include <regex.h>

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

Mime
View raw message