[ekiga/gnome-2-26] Modified the gnome support detection to be clearer



commit f7c2e1adf6ba5699a20d85389e9d0810994edfbc
Author: Julien Puydt <jpuydt src gnome org>
Date:   Thu Mar 19 10:34:53 2009 +0000

    Modified the gnome support detection to be clearer
    
    svn path=/trunk/; revision=7792
---
 configure.ac |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 69f6519..f076688 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,12 +205,13 @@ AC_SUBST(XML_LIBS)
 dnl ###############################
 dnl   GNOME support
 dnl ###############################
-GNOME="disabled"
+GNOME="unneeded"
 
 if test "x${gm_platform}" != "xmingw" ; then
-  AC_ARG_ENABLE(gnome, AS_HELP_STRING([--enable-gnome],[enable GNOME support (default is enabled)]),,enable_gnome=yes)
-  
   if $PKG_CONFIG --max-version 2.13.1 gtk+-2.0; then
+    GNOME="disabled"
+    AC_ARG_ENABLE(gnome, AS_HELP_STRING([--enable-gnome],[enable GNOME support (default is to enable if needed)]),,enable_gnome=yes)
+  
     if test "x$enable_gnome" = "xyes"; then
       PKG_CHECK_MODULES([GNOME], [libgnome-2.0 >= 2.14.0 libgnomeui-2.0 >= 2.14.0], [found_gnome=yes])
       AC_SUBST(GNOME_CFLAGS)



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