[ekiga] Fixed compilation with native sidebar support.



commit 2af7909bc8c4fb875142bb07dcb7dd97046a3470
Author: Damien Sandras <dsandras seconix com>
Date:   Sat Jun 20 10:58:32 2015 +0200

    Fixed compilation with native sidebar support.

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3f52f11..9879d8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,11 +140,11 @@ else
 fi
 PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0 gio-2.0])
 
-PKG_CHECK_MODULES([GTK_NO_SIDEBAR], [gtk+-3.0 <  3.16.0], [found_sidebar="no"], [found_sidebar="yes"])
-if test "x${found_sidebar}" != "xno" ; then
-     AC_DEFINE(HAVE_SIDEBAR,1,[GtkSideBar support])
+PKG_CHECK_MODULES([GTK_SIDEBAR], [gtk+-3.0 >=  3.16.0], [have_sidebar="yes"], [have_sidebar="no"])
+if test "x${have_sidebar}" = "xyes" ; then
+  AC_DEFINE(HAVE_SIDEBAR,1,[GtkSideBar support])
+  AM_CONDITIONAL(HAVE_SIDEBAR, true)
 fi
-AM_CONDITIONAL(HAVE_SIDEBAR, test "x$found_sidebar" != "xno")
 
 AC_ARG_ENABLE([gtk-debug],
               [AS_HELP_STRING([--enable-gtk-debug],[enable GTK+ debug flags (default is disabled)])],


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