httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@devsys.jaguNET.com>
Subject Re: mpm Configure
Date Mon, 05 Jul 1999 11:51:48 GMT
This is OK to do now. Once I changed Configure to fully make the mpm
method module-like, the hack that did this wasn't needed anymore.

Brian Havard wrote:
> 
> It looks like someone's been playing with the Configure script in mpm. I get
> this in the section that makes modules.c:
> 
> awk: htconf.99.4:13:    print "#include "httpd.h""
> awk: htconf.99.4:13:                          ^ parse error
> awk: htconf.99.4:14:    print "#include "http_config.h""
> awk: htconf.99.4:14:                                ^ parse error
> 
> To make it work I just have to revert it to the way it is in the 1.3 tree
> with the patch below. Anyone want to explain why this was changed?
> 
> 
> 
> Index: Configure
> ===================================================================
> RCS file: /home/cvs/apache-2.0/mpm/src/Configure,v
> retrieving revision 1.9
> diff -u -r1.9 Configure
> --- Configure	1999/07/04 09:13:31	1.9
> +++ Configure	1999/07/05 07:51:41
> @@ -1727,13 +1727,13 @@
>  ## Now create modules.c
>  ##
>  
> -$CAT > $awkfile <<EOFM
> +$CAT > $awkfile <<'EOFM'
>      BEGIN {
>  	modules[n++] = "core"
>  	pmodules[pn++] = "core"
>      } 
> -    /^Module/ { modules[n++] = \$2 ; pmodules[pn++] = \$2 } 
> -    /^%Module/ { pmodules[pn++] = \$2 } 
> +    /^Module/ { modules[n++] = $2 ; pmodules[pn++] = $2 } 
> +    /^%Module/ { pmodules[pn++] = $2 } 
>      END {
>  	print "/*"
>  	print " * modules.c --- automatically generated by Apache"
> 
> --
>  ______________________________________________________________________________
>  |  Brian Havard                 |  "He is not the messiah!                   |
>  |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
>  ------------------------------------------------------------------------------
> 
> 


-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message