You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Reid <dr...@jetnet.co.uk> on 2001/01/05 17:59:43 UTC

Ordering of config files...

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


Re: Ordering of config files...

Posted by rb...@covalent.net.
The general feeling seems to be do:

cvs rm config.m4
cvs add config1.m4

(I would really make hat 5, so we have space to grow.)

Also, please note where the original file came from, so that people can
see the history.

Ryan

On Fri, 5 Jan 2001, David Reid wrote:

> Great, it works a treat.  How do I move the file in CVS?
> 
> Can I just do
> 
> cvs mv config.m4 config1.m4
> cvs commit
> 
> ????
> 
> david
> 
> > The ordering is now done.  Just rename the config.m4 file that needs to be
> > later to something like config1.m4, or to be safer config5.m4
> >
> > Ryan
> 
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Re: Ordering of config files...

Posted by David Reid <dr...@jetnet.co.uk>.
Great, it works a treat.  How do I move the file in CVS?

Can I just do

cvs mv config.m4 config1.m4
cvs commit

????

david

> The ordering is now done.  Just rename the config.m4 file that needs to be
> later to something like config1.m4, or to be safer config5.m4
>
> Ryan



Re: Ordering of config files...

Posted by David Reid <dr...@jetnet.co.uk>.
Excellent, I'll try it.

david
----- Original Message -----
From: <rb...@covalent.net>
To: "Apache (new-httpd)" <ne...@apache.org>
Sent: Friday, January 05, 2001 5:09 PM
Subject: Re: Ordering of config files...


>
> The ordering is now done.  Just rename the config.m4 file that needs to be
> later to something like config1.m4, or to be safer config5.m4
>
> Ryan
>
> On Fri, 5 Jan 2001, David Reid wrote:
>
> > 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
> >
> >
>
>
>
____________________________________________________________________________
___
> Ryan Bloom                        rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> --------------------------------------------------------------------------
-----
>
>


Re: Ordering of config files...

Posted by rb...@covalent.net.
The ordering is now done.  Just rename the config.m4 file that needs to be
later to something like config1.m4, or to be safer config5.m4

Ryan

On Fri, 5 Jan 2001, David Reid wrote:

> 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
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------