Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 82737 invoked by uid 500); 11 May 2000 20:07:40 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 82725 invoked from network); 11 May 2000 20:07:39 -0000 Date: Thu, 11 May 2000 13:06:11 -0700 (PDT) From: Greg Stein To: new-httpd@apache.org Subject: Re: mod_example in 2.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Yes, but Tony wasn't talking about that. He was discussing a "cosmetic unpleasantness." Read the mail :-) Tony: I'm not sure that shifting the .m4 stuff *out* of the directory is appropriate. Is there any way we can adjust that find? Can we make the find a bit more explicit? e.g. grab the modules/extra first, then the mpm modules, then the rest? Dunno how to do that, tho... hard problem :-( If we could name the config files like 00config.m4, 01config.m4, etc, and then run them thru 'sort' on the last part of the path, then we could force the right order. Dunno how portable 'sort' is, though. Here is a quick hack: find . -name config.m4 | awk -F / -- '{print $(NF), $0 | "sort" }' | awk -- '{print $2}' Dunno if there is a way to combine those two 'awk' invocations. Cheers, -g On Thu, 11 May 2000 rbb@covalent.net wrote: > > mod_example already works in 2.0, AFAIK. I ported it a while ago. > > Ryan > > On Thu, 11 May 2000, Tony Finch wrote: > > > I'm fiddling with the build stuff to get mod_exaple functioning in 2.0 > > and I've spotted a cosmetic unpleasantness: because src/build/build.mk > > says > > @echo config_m4_files = `find . -name config.m4` > $@ > > the order of the config.m4 files is > > ./main/config.m4 > > ./modules/example/config.m4 > > ./modules/extra/config.m4 > > ./modules/mpm/dexter/config.m4 > > [...] > > which means that when you do `./configure --help` you get > > [...] > > --enable and --with options recognized: > > --enable-layout=LAYOUT > > --enable-modules=MODULE-LIST > > --enable-shared=MODULE-LIST > > --enable-example example module > > --with-module=location Include the specified module. location is the > > path to the new module. > > --with-mpm=MPM Choose the process model for Apache to use. > > MPM={dexter,mpmt_beos,mpmt_pthread,prefork,spmt_os2} > > --enable-vhost-alias mass hosting module > > [...] > > (note the location of "--enable-example") which is a bit gross. I > > think the best fix is to move the stiff in src/modules/extra/config.m4 > > up a level. Yesno? > > > > Tony. > > -- > > f.a.n.finch fanf@demon.net dot@dotat.at > > 378 oing! now that's a comic strip > > > > > _______________________________________________________________________________ > Ryan Bloom rbb@apache.org > 406 29th St. > San Francisco, CA 94131 > ------------------------------------------------------------------------------- > -- Greg Stein, http://www.lyra.org/