[gupnp/gupnp-0.18] Default context manager is 'linux' on Linux
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/gupnp-0.18] Default context manager is 'linux' on Linux
- Date: Sun, 19 Aug 2012 14:08:26 +0000 (UTC)
commit c47b1eebd36241b08a24e0945f27301f97f1e9a1
Author: Ludovic Ferrandis <ludovic ferrandis linux intel com>
Date: Fri May 25 10:25:27 2012 +0200
Default context manager is 'linux' on Linux
'unix' for all other platforms
https://bugzilla.gnome.org/show_bug.cgi?id=676803
configure.ac | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d0b1746..2c81b3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,18 @@ AC_ARG_WITH([context_manager],
AS_HELP_STRING(
[--with-context-manager=@<:@network-manager/connman/unix/linux@:>@],
[Context Manager backend to use]),,
- [with_context_manager="unix"])
+ [with_context_manager="none"])
+
+if test "x$with_context_manager" = "xnone"; then
+ case "$target_os" in
+ linux*)
+ with_context_manager="linux"
+ ;;
+ *)
+ with_context_manager="unix"
+ ;;
+ esac
+fi
AC_MSG_CHECKING([Context Manager backend to use])
AC_MSG_RESULT([${with_context_manager}])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]