summaryrefslogtreecommitdiffstats
path: root/net/geoclue/files/patch-configure.ac
blob: 319cafca4d793e47d6cab3ad91b2f4c64c1da3b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/configure.ac b/configure.ac
index e1932ef..8a90057 100644
--- configure.ac.orig
+++ configure.ac
@@ -40,7 +40,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext d
 GLIB_MIN_VERSION=2.34.0
 JSON_GLIB_MIN_VERSION=0.14
 GEOIP_MIN_VERSION=1.5.1
-LIBNM_GLIB_MIN_VERSION=0.9.8.0
 LIBMM_GLIB_MIN_VERSION=1.0
 LIBXML_MIN_VERSION=2.7
 
@@ -84,17 +83,6 @@ else
 fi
 AM_CONDITIONAL([BUILD_MODEM_GPS_SOURCE], [test "$build_modem_gps_source" = "yes"])
 
-# NetworkManager
-AC_ARG_ENABLE(network-manager,
-              AS_HELP_STRING([--disable-network-manager], [Disable use of NetworkManager)]),
-              [use_nm=$enableval], [use_nm=yes])
-if test "$use_nm" = "yes"; then
-  PKG_CHECK_MODULES(NetworkManager, libnm-glib >= $LIBNM_GLIB_MIN_VERSION)
-  AC_DEFINE([GCLUE_USE_NETWORK_MANAGER], [1], [Use NetowrkManager?])
-else
-  AC_DEFINE([GCLUE_USE_NETWORK_MANAGER], [0], [Use NetowrkManager?])
-fi
-
 # Modem source is used in common by GPS and 3G sources
 if test "$build_modem_source" = "yes"; then
   require_modemmanager=yes