[network-manager-openconnect/th/vpn-service-info-bgo767197: 1/2] build: bump required NetworkManager version



commit 3a8e625c2db74b2ff5f75efb76c7e683701beb27
Author: Thomas Haller <thaller redhat com>
Date:   Wed Jun 8 01:47:30 2016 +0200

    build: bump required NetworkManager version
    
    Next, we will use new API introduced in 1.4.0.

 configure.ac |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d400321..2a244f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,10 +76,10 @@ if test x"$with_gnome" != xno; then
 
        if test x"$with_libnm_glib" != xno; then
                PKG_CHECK_MODULES(LIBNM_GLIB,
-                                 NetworkManager >= 1.1.0
-                                 libnm-util >= 1.1.0
-                                 libnm-glib  >= 1.1.0
-                                 libnm-glib-vpn >= 1.1.0)
+                                 NetworkManager >= 1.3.0
+                                 libnm-util >= 1.3.0
+                                 libnm-glib  >= 1.3.0
+                                 libnm-glib-vpn >= 1.3.0)
        fi
 fi
 
@@ -94,9 +94,9 @@ if ! test x"$ac_distver" = x""; then
   AC_DEFINE_UNQUOTED(DIST_VERSION, "$ac_distver", [Define the distribution version string])
 fi
 
-PKG_CHECK_MODULES(LIBNM, libnm >= 1.1.0)
-LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2"
-LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2"
+PKG_CHECK_MODULES(LIBNM, libnm >= 1.3.0)
+LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_4"
+LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_4"
 
 NM_VPN_SERVICE_DIR=`$PKG_CONFIG --define-variable prefix='\${prefix}' --variable vpnservicedir libnm`
 AC_SUBST(NM_VPN_SERVICE_DIR)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]