> > Include ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is > > defined correctly in all C files. > > If its a requirement, shouldn't httpd.h include ap_config.h, rather then > requiring module authors to magically know they should do this?
As has been stated before, httpd.h can't include ap_config.h. If httpd.h includes ap_config.h, then all of the autoconf generated macros become public, and that causes macro redefinition errors when trying to compile big modules like PHP. What we really need is a public header file that has namespace protected macros, but I don't have time to do that right now, and this fixes the problem that Bill was having. I am in SF for the next week, and won't be doing much work, wh I get back, I hope to have the time to look into the configure process again. Ryan Come to the first official Apache Software Foundation Conference!!! <http://ApacheCon.Com/> _______________________________________________________________________________ Ryan Bloom [EMAIL PROTECTED] 2121 Stonehenge Dr. Apt #3 Raleigh, NC 27615 Ryan Bloom -- thinker, adventurer, artist, writer, but mostly, friend. -------------------------------------------------------------------------------