apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: how do I know if libapr was built with --enable-pool-debug or other opts?
Date Sun, 02 Jan 2005 05:28:34 GMT
Ben Laurie wrote:
> Stas Bekman wrote:
> 
>> How could I know whether libapr was built with a certain option on or 
>> off?
>>
>> e.g. after building libapr with CPPFLAGS="-DAPR_BUCKET_DEBUG"  and 
>> --enable-pool-debug, I run:
>>
>>   % apr-config --cppflags
>>   -DLINUX=2 -D_REENTRANT -DAPR_POOL_DEBUG=1 -D_XOPEN_SOURCE=500
>>   -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>>
>> so I can see -DAPR_BUCKET_DEBUG, but what about --enable-pool-debug? I 
>> can't find an option to show me that.
> 
> 
> I'd note that you _can't_ see -DAPR_BUCKET_DEBUG - but you can see 
> -DAPR_POOL_DEBUG :-)

doh, thanks Ben, a parsing problem. So why the second one is not there?

>> Similar to httpd -V I want to be able to see what options a library 
>> was compiled with, so when asking users to submit a bug report, we can 
>> reproduce the same build. Instead asking users to manually paste their 
>> build options, it'd be great to have the -config tool report those 
>> automatically.
>>
>> Thanks.
>>
> 
> 


-- 
__________________________________________________________________
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

Mime
View raw message