Use pkg-config to determine the flags to use with libpng
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 11 Sep 2011 23:44:06 +0000 (19:44 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 13 Sep 2011 02:39:53 +0000 (22:39 -0400)
commit9882d832f60419094c0b379b88fa344490ea36eb
tree804f7bd7efcc98dd7a064a55661dcc3401c20fbf
parent99a53667da3014a463b8a0e2b6c317efe0ebb220
Use pkg-config to determine the flags to use with libpng

Previously we would unconditionally link with -lpng leading to build
failures on systems without libpng.
configure.ac
test/Makefile.am