From 743d9bf1ec198071924824e3364cf89e42d26bd0 Mon Sep 17 00:00:00 2001
From: Joshua Strobl <joshua@streambits.io>
Date: Wed, 18 Sep 2019 20:25:08 +0300
Subject: [PATCH 1/1] build: disable libnm-glib support by default

---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 11ff5d0..eaf015b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ dnl
 dnl GNOME support
 dnl
 AC_ARG_WITH(gnome, AS_HELP_STRING([--without-gnome], [Build NetworkManager-openvpn without GNOME support, e.g. vpn service only]), [], [with_gnome_specified=no])
-AC_ARG_WITH(libnm-glib, AS_HELP_STRING([--without-libnm-glib], [Build NetworkManager-openvpn without libnm-glib comatibility]), [], [with_libnm_glib_specified=no])
+AC_ARG_WITH(libnm-glib, AS_HELP_STRING([--with-libnm-glib], [Build NetworkManager-openvpn with libnm-glib comatibility (depreacted)]), [], [with_libnm_glib_specified=no])
 if test "$with_libnm_glib_specified" != no -a "$with_libnm_glib" != no; then
    if test "$with_gnome_specified" != no -a "$with_gnome" == no; then
        AC_MSG_ERROR(Building --with-libnm-glib conflicts with --without-gnome)
@@ -85,10 +85,10 @@ if test "$with_gnome" != no; then
    with_gnome=yes
 fi
 if test "$with_libnm_glib_specified" == no; then
-   with_libnm_glib="$with_gnome"
+   with_libnm_glib=no
 fi
-if test "$with_libnm_glib" != no; then
-   with_libnm_glib=yes
+if test "$with_libnm_glib" != yes; then
+   with_libnm_glib=no
 fi
 AM_CONDITIONAL(WITH_GNOME, test "$with_gnome" != no)
 AM_CONDITIONAL(WITH_LIBNM_GLIB, test "$with_libnm_glib" != no)
-- 
2.23.0