#! /bin/sh # libpng-config # provides configuration info for libpng. # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson # This code is released under the libpng license. # For conditions of distribution and use, see the disclaimer # and license in png.h # Modeled after libxml-config. version="1.6.12" called_script=$(perl -MCwd=realpath -e "print realpath '$0'") called_directory=`dirname "${called_script}"` prefix=`dirname "${called_directory}"` exec_prefix="${prefix}" libdir="${prefix}/lib" includedir="${prefix}/include/libpng16" libs="-lpng16" all_libs="-lpng16 -lm -lz -lm " I_opts="-I${includedir}" L_opts="-L${libdir}" R_opts="" cppflags="" ccopts="" ldopts="" usage() { cat <