patch: robustify libpng check.

Stefan Seefeld stefan at codesourcery.com
Mon May 5 20:52:49 UTC 2008


The attached patch robustifies the check for libpng by not only looking 
for the header, but also attempting to link. Previously we ran into a 
situation where libpng.h was found (as part of a 32-bit package, but the 
64-bit version of the library then was not, resulting in a failure at 
compile-time, instead of simply disabling png-support at configure time.

The patch is checked in as obvious.

Thanks,
		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20080505/dc322806/attachment.ksh>


More information about the vsipl++ mailing list