[gupnp-vala] Only build vapi for old versions
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-vala] Only build vapi for old versions
- Date: Sat, 6 Oct 2012 16:08:49 +0000 (UTC)
commit 57875ff84e0c8de9fe9f4952c6bf6336ca269e2d
Author: Jens Georg <mail jensge org>
Date: Sat Oct 6 17:40:28 2012 +0200
Only build vapi for old versions
configure.ac | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 95064c5..055224f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,26 +33,22 @@ if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([Cannot find the "pkg-config" program in your PATH])
fi
-PKG_CHECK_MODULES(GSSDP, [gssdp-1.0 >= 0.11.0])
-
dnl check if we have gssdp >= 0.12.2 which carries its own vapi
-PKG_CHECK_MODULES(NEW_GSSDP, [gssdp-1.0 >= 0.12.2],
+PKG_CHECK_MODULES(NEW_GSSDP, [gssdp-1.0 >= 0.11.0 gssdp-1.0 < 0.12.2],
[
- has_new_gssdp=yes
- has_gssdp=no
- VALA_CHECK_PACKAGES([gssdp-1.0])
- ],
- [has_new_gssdp=no
has_gssdp=yes
+ ],
+ [
+ has_gssdp=no
])
-AM_CONDITIONAL(WITH_GSSDP, [test "x$has_new_gssdp" = "xno"])
+AM_CONDITIONAL(WITH_GSSDP, [test "x$has_gssdp" = "xyes"])
-PKG_CHECK_MODULES(GUPNP, [gupnp-1.0 >= 0.18.0],
+PKG_CHECK_MODULES(GUPNP, [gupnp-1.0 >= 0.18.0 gupnp-1.0 < 0.19.0],
has_gupnp=yes,
has_gupnp=no)
AM_CONDITIONAL(WITH_GUPNP, [test "x$has_gupnp" = "xyes"])
-PKG_CHECK_MODULES(GUPNP_AV, [gupnp-av-1.0 >= 0.9.0],
+PKG_CHECK_MODULES(GUPNP_AV, [gupnp-av-1.0 >= 0.9.0 gupnp-av-1.0 < 0.11.0],
has_gupnp_av=yes,
has_gupnp_av=no)
AM_CONDITIONAL(WITH_GUPNP_AV, [test "x$has_gupnp_av" = "xyes"])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]