httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: Allow modules to add libraries
Date Sat, 05 Jun 1999 20:23:59 GMT
Greg Stein wrote:
> 
> Ben Laurie wrote:
> >
> > This teeny patch allows modules to add libraries (long promised in the
> > comments in Configure :-)... OK if I commit it?
> 
> +1 (concept; see below)
> 
> Cool idea. I currently use the following in my libdav.module file:
> 
> Name: dav_module
> ConfigStart
>   LIBS="-L/usr/local/lib -lgdbm $LIBS"
>   RULE_EXPAT=yes
> ConfigEnd
> 
> It would be much nicer to use your new format:
> 
> Name: dav_module
> Libs: -L/usr/local/lib -lgdbm
> ConfigStart
>   RULE_EXPAT=yes
> ConfigEnd
> 
> Now... if we can grep for the RULEs, we'll be really set :-)

That should be similarly trivial to arrange.

> I say only "+1 concept" because it looks like you don't handle
> *multiple* uses of Libs:. i.e. you don't append stuff to $modlibs. Each
> .module file that sets it will overwrite the previous.

Good point. Here's an improved (untested) version...

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi
Mime
View raw message