[network-manager-openvpn] Fix build by setting NM_VERSION_MAX_ALLOWED



commit 1ac2142984b33d4470ce0edeaf9523974259e8ae
Author: Dan Winship <danw gnome org>
Date:   Fri Apr 25 10:00:48 2014 -0400

    Fix build by setting NM_VERSION_MAX_ALLOWED

 configure.ac                 |    1 +
 properties/tests/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1c23469..353b9b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,7 @@ PKG_CHECK_MODULES(NM,
        libnm-util >= 0.9.9
        libnm-glib >= 0.9.9
        libnm-glib-vpn >= 0.9.9)
+NM_CFLAGS="$NM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_0_9_10"
 AC_SUBST(NM_CFLAGS)
 AC_SUBST(NM_LIBS)
 
diff --git a/properties/tests/Makefile.am b/properties/tests/Makefile.am
index 823f896..779ccc4 100644
--- a/properties/tests/Makefile.am
+++ b/properties/tests/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = conf
 
-INCLUDES = -I${top_srcdir}
+AM_CFLAGS = -I${top_srcdir}
 
 noinst_PROGRAMS = test-import-export
 


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