Commit 2b0af580 authored by Dom Lachowicz's avatar Dom Lachowicz

bug 328329 - make gnome-print dependency optional

parent 231dafaa
2006-07-22 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Bug 348329 make gnome-print dependency optional
2006-07-22 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Require cairo-png
2006-07-20 Dom Lachowicz <cinamod@hotmail.com>
* rsvg-text.c: Fix build breakage caused by newer freetype versions
......
......@@ -225,12 +225,18 @@ AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_VERSION)
AM_CONDITIONAL(HAVE_GTK, test "x$have_gtk" = "xyes")
test_gnome_print=true
AC_ARG_ENABLE(gnome-print, [ --enable-gnome-print Use Gnome Print for printing SVGs [default = auto]],
test_gnome_print="$enableval")
have_gnome_print=no
PKG_CHECK_MODULES(GNOME_PRINT, \
libgnomeprint-2.2 >= 2.2.0 \
libgnomeprintui-2.2 >= 2.2.0, \
have_gnome_print=yes, \
have_gnome_print=no)
if test "x$test_gnome_print" != "xno"; then
PKG_CHECK_MODULES(GNOME_PRINT, \
libgnomeprint-2.2 >= 2.2.0 \
libgnomeprintui-2.2 >= 2.2.0, \
have_gnome_print=yes, \
have_gnome_print=no)
fi
if test "x$have_gnome_print" = "xyes"; then
GNOME_PRINT_CFLAGS="$GNOME_PRINT_CFLAGS -DHAVE_GNOME_PRINT=1"
......@@ -387,6 +393,7 @@ librsvg-$LIBRSVG_VERSION
Build Netscape plugin: ${build_mozilla_plugin}
Handle svgz files: ${test_gsf}
Use Gnome VFS: ${test_gnome_vfs}
Enable printing: ${have_gnome_print}
Use libcroco for css parsing: ${test_croco}
Build documentation: ${enable_gtk_doc}
"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment