[banshee] build: Fix MEEGO_PANELS_DIR test/definition (bgo#646037)



commit 5aeffbc81b6ac0e392bb26520be6e54e8af158ed
Author: Zhou Ting <ting z zhou intel com>
Date:   Wed Mar 30 13:19:19 2011 +0800

    build: Fix MEEGO_PANELS_DIR test/definition (bgo#646037)
    
    Signed-off-by: Gabriel Burt <gabriel burt gmail com>

 configure.ac |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d9149a0..124e284 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,13 +93,16 @@ PKG_CHECK_MODULES(MEEGO_PANEL, meego-panel,
 	HAVE_MEEGO_PANEL=yes, HAVE_MEEGO_PANEL=no)
 if test "x$HAVE_GNOME_2_28" = "xno" -o "x$HAVE_MEEGO_PANEL" = "xyes"; then
 	BANSHEE_DESKTOP_NAME="_Name=Banshee Media Player"
-        MEEGO_PANELS_DIR=`$PKG_CONFIG --variable=meego_panel_panels_dir meego-panel`
-        AC_SUBST(MEEGO_PANELS_DIR)
 else
 	BANSHEE_DESKTOP_NAME="_Name=Banshee"
 fi
 AC_SUBST(BANSHEE_DESKTOP_NAME)
 
+if test "x$HAVE_MEEGO_PANEL" = "xyes"; then
+  MEEGO_PANELS_DIR=`$PKG_CONFIG --variable=meego_panel_panels_dir meego-panel`
+  AC_SUBST(MEEGO_PANELS_DIR)
+fi
+
 dnl Check for gdk-x11 >= 2.22 for NotificationArea extension, bgo#638477
 PKG_CHECK_MODULES(GDK_2_22, gdk-x11-2.0 >= 2.22, have_gdk_2_22=yes, have_gdk_2_22=no)
 AM_CONDITIONAL(HAVE_GDK_2_22, test "x$have_gdk_2_22" = "xyes")



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