$OpenBSD: patch-configure_in,v 1.1 2012/12/28 09:54:47 ajacoutot Exp $

https://bugzilla.gnome.org/show_bug.cgi?id=653323

--- configure.in.orig	Tue Oct 16 00:56:57 2012
+++ configure.in	Fri Dec 28 10:46:20 2012
@@ -154,6 +154,22 @@ fi
 
 AM_CONDITIONAL([ENABLE_GTK2_ENGINE],[test "$enable_gtk_theme" = "yes"])
 
+# ===========================================================================
+# rsvg-view-3 application
+# ===========================================================================
+
+if test "have_gtk_3"; then
+  AC_MSG_CHECKING([whether to build the rsvg-view-3 application])
+  AC_ARG_ENABLE([rsvg-view],
+    [AS_HELP_STRING([--disable-rsvg-view],[Disable the rsvg-view-3 application (default=yes)])],
+    [],[enable_rsvg_view=yes])
+  AC_MSG_RESULT([$enable_rsvg_view])
+else
+  enable_rsvg_view=no
+fi
+
+AM_CONDITIONAL([ENABLE_RSVG_VIEW],[test "$enable_rsvg_view" = "yes"])
+
 dnl ===========================================================================
 dnl GDK-Pixbuf SVG loader
 dnl ===========================================================================
@@ -343,5 +359,6 @@ librsvg-$VERSION
         GTK 2.0:                        ${have_gtk_2}
         GTK 3.0:                        ${have_gtk_3}
 	Build GTK 2.0 theme engine:     ${enable_gtk_theme}
+	Build rsvg-view-3 application:  ${enable_rsvg_view}
 	Build miscellaenous tools:      ${build_misc_tools}
 "
