[banshee] build: Use notify-sharp-3.0 when present on the system
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] build: Use notify-sharp-3.0 when present on the system
- Date: Mon, 4 Nov 2013 20:00:35 +0000 (UTC)
commit b81720dab9ca615a757ccbb9eac3cac948c05587
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Mon Nov 4 20:53:52 2013 +0100
build: Use notify-sharp-3.0 when present on the system
Now that notify-sharp has a 3.0 release that depends on GTK 3, we can
use it and revert back to the same behavior we had in the GTK 2 world:
use the appropriate system-installed notify-sharp if present, and if
not, use our own internal copy.
This removes the --with-system-notify-sharp configure option, which
nobody should have been using anyway.
build/m4/banshee/notify-sharp.m4 | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/build/m4/banshee/notify-sharp.m4 b/build/m4/banshee/notify-sharp.m4
index 3025b6b..6ec3807 100644
--- a/build/m4/banshee/notify-sharp.m4
+++ b/build/m4/banshee/notify-sharp.m4
@@ -1,11 +1,8 @@
AC_DEFUN([BANSHEE_CHECK_NOTIFY_SHARP],
[
- AC_ARG_WITH([system-notify-sharp],
- AC_HELP_STRING([--with-system-notify-sharp], [Use the notify-sharp library installed on the
system]),
- use_system_notifysharp="yes", use_system_notifysharp="no")
+ PKG_CHECK_MODULES(NOTIFY_SHARP, notify-sharp-3.0, have_system_notifysharp=yes,
have_system_notifysharp=no)
- if test "x$use_system_notifysharp" = "xyes"; then
- PKG_CHECK_MODULES(NOTIFY_SHARP, notify-sharp)
+ if test "x$have_system_notifysharp" = "xyes"; then
AC_SUBST(NOTIFY_SHARP_LIBS)
AM_CONDITIONAL(EXTERNAL_NOTIFY_SHARP, true)
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]