perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: APR_FIND_APR
Date Fri, 06 Aug 2004 18:27:43 GMT
Geoffrey Young wrote:
>>At the moment one can build Perl APR only by building mod_perl, so I
>>suppose apxs is fine for now.
> 
> 
> ok.  so it looks like the way to handle this is via the new APR_VERSION and
> APU_VERSION queries.  this is in apxs:
> 
>   my $apr_version = get_vars("APR_VERSION");
>   $apr_version =~ s/(\d+)\.(\d).(\d)/$1/;
>   my $apr_config="$apr_bindir/apr-$apr_version-config";
> 
> so, in our code we would query apxs a second time via `apxs -q APR_VERSION`
> and if it succeeds then we insert the major number into the
> apr-$major-config, otherwise we assume apr-config.

The problem is that at the moment, we don't always have apxs. How are we 
going to handle that when apxs is not available?

> rather than changing this now we can probably just work it into the planned
> refactoring.

post refactoring. I'm going to do it now.

>>Later on (after 2.0) is released we may provide a separate package which
>>will be buildable w/o mod_perl. Let's deal with that when we will want
>>to do that.
> 
> 
> less work is cool by me :)
> 
> --Geoff


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message