summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-06-20 06:16:51 -0600
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-11-01 17:37:39 +0200
commit0a5ec9802a39dee240a1a3476af1ef8a7db9b6b3 (patch)
treeac621f021708ec03a85f329898fd819eaf8dd752
parentc4cc2247813f26db79fc2c6aa789856569497613 (diff)
[build] Look for libpng.pc as well when configuring.
The OpenBSD png package installs only libpng.pc and not any of libpng{13,12,10}.pc.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8a89f9d2..854972ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,7 +161,7 @@ CAIRO_ENABLE_FUNCTIONS(png, PNG, yes, [
AC_ARG_VAR([png_REQUIRES], [module name for libpng to search for using pkg-config])
if test "x$png_REQUIRES" = x; then
# libpng13 is GnuWin32's libpng-1.2.8 :-(
- for l in libpng12 libpng13 libpng10 ; do
+ for l in libpng12 libpng13 libpng10 libpng; do
if $PKG_CONFIG --exists $l ; then
png_REQUIRES=$l
use_png=yes