summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-02 02:13:08 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-02 02:13:08 +0000
commite2a2ac7947f8763fe1270d0f5f42602e59d84c0a (patch)
treeeebbf706bde5321c2319e9c273e09607b7f875af /configure.in
parentb69dea4155ec9a51617f727e8bd0c6ff74d15570 (diff)
downloadpango-e2a2ac7947f8763fe1270d0f5f42602e59d84c0a.tar.gz
AC_DEFINE (HAVE_CAIRO_PNG).
2006-02-01 Behdad Esfahbod <behdad@gnome.org> * configure.in: AC_DEFINE (HAVE_CAIRO_PNG). * examples/cairoview.c: Save to PNG if cairo has PNG support and --output is given.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8d599c8f..756552e0 100644
--- a/configure.in
+++ b/configure.in
@@ -294,7 +294,9 @@ if $have_cairo ; then
LDFLAGS="$LDFLAGS $INSTALLED_CAIRO_LIBS"
AC_CHECK_LIB(cairo, cairo_surface_write_to_png, have_cairo_png=true, :)
-
+ if $have_cairo_png; then
+ AC_DEFINE(HAVE_CAIRO_PNG, 1, [Whether Cairo has PNG support])
+ fi
have_cairo=false
AC_CHECK_LIB(cairo, cairo_win32_scaled_font_select_font, have_cairo_win32=true, :)
if $have_cairo_win32 && $have_win32; then