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:[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]
