Peter Poeml wrote:
On Wed, Aug 06, 2003 at 04:28:06PM -0700, Stas Bekman wrote:

The problem is that you use httpd install that spreads the bits all over the system, rather than keeping them under one tree, so it can find the apr-config. apxs gives no hint where to find them.


Stas, I just noticed that there is a way to get the location of
ap{r,u}-config from apxs:

 # apxs2 -q APR_BINDIR
/usr/bin
 # apxs2 -q APU_BINDIR
/usr/bin
 # /usr/local/apache2/bin/apxs -q APR_BINDIR
/usr/local/apache2/bin


Everything from apache2's config_vars.mk can be queried this way -- in theory at least, since some of the locations have been broken in the past, especially if a vendor moves stuff around without fixing it also in config_vars.mk.

Yes, but it was added only recently. I didn't find when exactly it was added, but it's supported by 2.0.46 and not in 2.0.43, not sure about earlier versions.


I'll add an optional query for those builds that have it, thanks!

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to