[gnome-web-photo] build: Only use AM_GCONF_SOURCE_2 if we build against GTK+ 2.x



commit 3f82cd8f0ffd5041a9b4bf2e96f47cf492fcc95c
Author: Vincent Untz <vuntz gnome org>
Date:   Sat Jul 2 09:27:43 2011 +0200

    build: Only use AM_GCONF_SOURCE_2 if we build against GTK+ 2.x
    
    We won't instally any gconf schema if we build against GTK+ 3.x, so
    gconf might not even be installed during the build.

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 73d47e9..f0e3774 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,10 +95,9 @@ if test "$with_gtk" == 2.0; then
     AC_MSG_ERROR([gconftool-2 not found])
   fi
 
+  AM_GCONF_SOURCE_2
 fi
 
-AM_GCONF_SOURCE_2
-
 # *****************
 # Add warning flags
 # *****************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]