#! /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.37" prefix="$(cd "${0%/*}/.."; pwd)" exec_prefix="${prefix}" libdir="${exec_prefix}/lib" includedir="${prefix}/include/libpng16" libs="-lpng16" all_libs="-lpng16 -lz " I_opts="-I${includedir}" L_opts="-L${libdir}" R_opts="" cppflags="" ccopts="" ldopts="" usage() { cat <