[ekiga/ds-fix-boost-leaks] Fixed compilation with native sidebar support.



commit 5806f57c1f9e1a1fa0b0dcb0d7491cfb41928288
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 d6a285d..549cc87 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"])
-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]