[network-manager-openvpn/jk/tun-tap-device] build: declare min/max NM versions supported for nm_vpn_plugin_secrets_required()



commit ef57425e3348e76e24b67c34bb6004addd16f369
Author: Dan Williams <dcbw redhat com>
Date:   Wed Apr 30 16:27:23 2014 -0500

    build: declare min/max NM versions supported for nm_vpn_plugin_secrets_required()

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1c23469..80d03e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,11 @@ PKG_CHECK_MODULES(NM,
        libnm-util >= 0.9.9
        libnm-glib >= 0.9.9
        libnm-glib-vpn >= 0.9.9)
+
+dnl NM_VERSION_MIN_REQUIRED should match the version above.
+dnl NM_VERSION_MAX_ALLOWED should be set to the same version;
+NM_CFLAGS="$NM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_10 -DNM_VERSION_MAX_ALLOWED=NM_VERSION_0_9_10"
+
 AC_SUBST(NM_CFLAGS)
 AC_SUBST(NM_LIBS)
 


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