#!/usr/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=`pkg-config --modversion libpng` prefix=`pkg-config --variable prefix libpng` exec_prefix=`pkg-config --variable exec_prefix libpng` libdir=`pkg-config --variable libdir libpng` includedir=`pkg-config --variable includedir libpng` libs="-lpng16" all_libs="-lpng16 -lm -lz -lm " I_opts="-I${includedir}" L_opts="-L${libdir}" R_opts="" cppflags="" ccopts="" ldopts="" usage() { cat <