diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-02 02:13:08 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-02 02:13:08 +0000 |
commit | e2a2ac7947f8763fe1270d0f5f42602e59d84c0a (patch) | |
tree | eebbf706bde5321c2319e9c273e09607b7f875af /configure.in | |
parent | b69dea4155ec9a51617f727e8bd0c6ff74d15570 (diff) | |
download | pango-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.in | 4 |
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 |