+
+dnl ========= Check for libgnomeprintui
+AC_ARG_ENABLE(gnome-print,
+ [AC_HELP_STRING([--disable-gnome-print], [Compile without print support])],
+ enable_gnome_print="$enableval",
+ enable_gnome_print=yes)
+
+if test x$enable_gnome_print = xyes; then
+ PKG_CHECK_MODULES(GNOME_PRINT,
+ libgnomeprintui-2.2 >= $LIBGNOMEPRINTUI_REQUIRED,
+ enable_gnome_print=yes, enable_gnome_print=no)
+fi
+
+AC_SUBST(GNOME_PRINT_CFLAGS)
+AC_SUBST(GNOME_PRINT_LIBS)
+
+if test x$enable_gnome_print = xyes; then
+ AC_DEFINE([WITH_GNOME_PRINT],[1],[Enable Print Support.])
+fi
+
+AM_CONDITIONAL(WITH_GNOME_PRINT, test x$enable_gnome_print = xyes)
+
+dnl ========= Check for DBUS