httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Ordering of config files...
Date Fri, 05 Jan 2001 16:59:43 GMT
How close are we to this?  I've just found out that if you don't specify an
MPM on the command line then you can't build on beos as the beos section is
included before MPM_NAME is set and so no Makefile is generated!  I can
change the test to use APACHE_MPM but is this the correct way of doing it or
shoudl we be able to order these correctly without?

The patch would be something like and does solve the problem...

Index: server/mpm/beos/config.m4
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/beos/config.m4,v
retrieving revision 1.3
diff -u -r1.3 config.m4
--- server/mpm/beos/config.m4   2000/12/04 22:33:45     1.3
+++ server/mpm/beos/config.m4   2001/01/05 16:20:06
@@ -1,7 +1,7 @@
 dnl ## XXX - Need a more thorough check of the proper flags to use

-if test "$MPM_NAME" = "beos" ; then
+if test "$APACHE_MPM" = "beos" ; then
     apache_apr_flags="--enable-threads"

-    APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
+    APACHE_FAST_OUTPUT(server/mpm/$APACHE_MPM/Makefile)
 fi

david


Mime
View raw message