[cairo-commit] Branch '1.8' - configure.ac

M. Joonas Pihlaja joonas at kemper.freedesktop.org
Sun Nov 1 07:38:43 PST 2009


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a5ec9802a39dee240a1a3476af1ef8a7db9b6b3
Author: M Joonas Pihlaja <jpihlaja at cc.helsinki.fi>
Date:   Sat Jun 20 06:16:51 2009 -0600

    [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.

diff --git a/configure.ac b/configure.ac
index 8a89f9d..854972e 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


More information about the cairo-commit mailing list