[empathy: 6/14] use libcanberra-gtk3 when building with GTK3
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 6/14] use libcanberra-gtk3 when building with GTK3
- Date: Thu, 8 Jul 2010 12:36:33 +0000 (UTC)
commit e56070fd87fe3429ee046550623c90d64c98eb83
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jul 7 16:20:54 2010 +0200
use libcanberra-gtk3 when building with GTK3
configure.ac | 7 ++++++-
libempathy-gtk/Makefile.am | 2 ++
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 03e0620..7a1b9b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,7 +152,6 @@ PKG_CHECK_MODULES(EMPATHY,
gobject-2.0
gstreamer-0.10
gstreamer-interfaces-0.10
- libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED
libebook-1.2
libxml-2.0
telepathy-farsight
@@ -176,6 +175,9 @@ AC_ARG_ENABLE(gtk3,
if test "x$enable_gtk3" != "xno"; then
PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_REQUIRED],
enable_gtk3="yes", enable_gtk3="no")
+
+ # GTK3 specific deps
+ PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED)
fi
# ...if not use GTK+2
@@ -183,6 +185,9 @@ if test "x$enable_gtk3" == "xno"; then
enable_gtk3=no
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
+ # GTK2 specific deps
+ PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED)
+
# Enable GSEAL checks if needed
if test $USE_MAINTAINER_MODE = yes; then
AC_DEFINE(GSEAL_ENABLE, [], [Seal public structs to force usage of accessors])
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index 5762f5c..6fa8202 100644
--- a/libempathy-gtk/Makefile.am
+++ b/libempathy-gtk/Makefile.am
@@ -9,6 +9,7 @@ AM_CPPFLAGS = \
$(EMPATHY_CFLAGS) \
$(GTK_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
+ $(CANBERRA_CFLAGS) \
$(ENCHANT_CFLAGS) \
$(LIBCHAMPLAIN_CFLAGS) \
$(GEOCLUE_CFLAGS) \
@@ -133,6 +134,7 @@ libempathy_gtk_la_LIBADD = \
$(EMPATHY_LIBS) \
$(GTK_LIBS) \
$(LIBNOTIFY_LIBS) \
+ $(CANBERRA_LIBS) \
$(ENCHANT_LIBS) \
$(LIBCHAMPLAIN_LIBS) \
$(GEOCLUE_LIBS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]