Commit 6abc0a38 authored by Ludovic Ferrandis's avatar Ludovic Ferrandis Committed by Jens Georg

Default context manager is 'linux' on Linux

'unix' for all other platforms

https://bugzilla.gnome.org/show_bug.cgi?id=676803
parent ada90d97
......@@ -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}])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment