Commit 79ce3af0 authored by Zeeshan Ali's avatar Zeeshan Ali

build: Drop libnm-glib dependency

parent e8665a82
......@@ -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
......
......@@ -49,7 +49,6 @@ noinst_LTLIBRARIES = libgeoclue.la
AM_CPPFLAGS = $(GEOCLUE_CFLAGS) \
$(ModemManager_CFLAGS) \
$(NetworkManager_CFLAGS) \
$(WARN_CFLAGS) \
-DLOCALEDIR="\"$(datadir)/locale\"" \
-DG_LOG_DOMAIN=\""Geoclue"\" \
......@@ -98,7 +97,6 @@ endif
libgeoclue_la_LIBADD = \
$(GEOCLUE_LIBS) \
$(NetworkManager_LIBS) \
$(ModemManager_LIBS) \
$(LIBS) \
$(NULL)
......
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