aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 22:20:54 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-08 17:40:31 +0800
commite56070fd87fe3429ee046550623c90d64c98eb83 (patch)
treea33dd0b0c474d6fc8f332999041804e438119a1c /configure.ac
parentfc57cd132b0563feeec4dba0e5a7298c7d904a0a (diff)
downloadgsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.tar
gsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.tar.gz
gsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.tar.bz2
gsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.tar.lz
gsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.tar.xz
gsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.tar.zst
gsoc2013-empathy-e56070fd87fe3429ee046550623c90d64c98eb83.zip
use libcanberra-gtk3 when building with GTK3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 03e0620fc..7a1b9b9d6 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])