[Issues] [mod_gnutls 0000080]: apr_memcache test use file-based test to detect library availability

issues at outoforder.cc issues at outoforder.cc
Tue Feb 19 10:37:57 EST 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=80 
====================================================================== 
Reported By:                guillomovitch
Assigned To:                
====================================================================== 
Project:                    mod_gnutls
Issue ID:                   80
Category:                   Compile or Build
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Apache Version:             unspecified 
====================================================================== 
Date Submitted:             02-19-2008 10:37 EST
Last Modified:              02-19-2008 10:37 EST
====================================================================== 
Summary:                    apr_memcache test use file-based test to detect
library availability
Description: 
As the test hardcode the location of the file to be $prefix + lib, it fails
for x86_64 biarch hosts, where libs are in $prefix + lib64. It is generally
recommended to never use physical test for libs presence, only compilation
tests, so as to be as most platform-independant as possible.

Attached patch fix the issue, turning the original unique prefix option to
three, allowing to specify either prefix, libs or include path for
apr_memcached. I just realize it would have been even better to just use
$libdir and $includedir if neither option was given.

I also tried to test apr_memcache header, using AC_CHECK_header, but it
failed for syntax errors in apr headers. Given my lack of knowledge of
this specific part, I did not succeed.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-19-08 10:37  guillomovitch  New Issue                                    
02-19-08 10:37  guillomovitch  File Added:
mod_gnutls-0.4.2.1-fix-apr_memcache-test.diff                    
02-19-08 10:37  guillomovitch  Apache Version            => unspecified     
======================================================================




More information about the Issues mailing list