Peter Robinson wrote:
On Wed, Jan 27, 2010 at 4:46 PM, Patrick Ohly <[email protected] wrote:
    On Mi, 2010-01-27 at 16:34 +0000, Peter Robinson wrote:

     > It seems the 1.0 beta now uses mx for the Moblin gui but it seems
    that
     > the configure script doesn't check for it first and either
     > enable/disable the feature or complain if its missing.

    Yes, your are right. It should compile the plain GTK version, though,
    when using --enable-gui or --enable-gui=gtk. You specifically try to
    build with --enable-gui=moblin, right?


Nope. Trying to compile them both with the --enable-gui=all switch.

Whoops. I tested "gtk" and "moblin" but apparently not "all".

This should fix things, I think (there was also an extra USE_MOBLIN_UX definition). I'll push that tomorrow if there are no objections and if Patrick hasn't already.

 - Jussi

>From 941f407c5727ec54d72674cd1fe8feffbfe42163 Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <[email protected]>
Date: Wed, 27 Jan 2010 20:10:55 +0200
Subject: [PATCH] fix build with "--enable-gui=all"

---
 configure-pre.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure-pre.in b/configure-pre.in
index 7a9fad9..327486e 100644
--- a/configure-pre.in
+++ b/configure-pre.in
@@ -357,9 +357,8 @@ esac
 
 if test $enable_gui != "no"; then
     gui_modules="glib-2.0 dbus-glib-1 >= 0.60 gtk+-2.0 libglade-2.0 gio-2.0"
-    if test $enable_gui == "moblin"; then
+    if test $enable_gui == "moblin" -o $enable_gui == "all"; then
         gui_modules="$guimodules mx-gtk-1.0"
-        AC_DEFINE(USE_MOBLIN_UX, 1, [Use Moblin UI widgets])
     fi
 
     PKG_CHECK_MODULES(UNIQUE, unique-1.0,
-- 
1.6.5

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to