liuliu/ccv — pull request #16 by koudelka (2012-07-07 22:40:22+00:00)
Title: Fixing libpng build on OS X

Building ccv under OSX with libpng with a non-xcode build was broken.

OS X comes with libpng built-in at /usr/X11/{include,lib}. I've updated the configure script to include those locations via -I and -L, respectively, and added a conditional to include the header file under the name "png.h". It looks like you're using a #define from zlib, so I've included that too.