[PATCH 1/1] configure.ac: fix LIBNM_GLIB_CFLAGS in configure.ac



We want to specify the min/max version requirements for libnm-gtk (the
user of libnm-glib), not for libnm-glib itself.

Fixes: a0d4d15ed22fff2ed856ca6291812e96374afc94

https://mail.gnome.org/archives/networkmanager-list/2016-January/msg00021.html
---
 Hi,

He also mentioned that NMA_CFLAGS in configure.ac should probably be
LIBNM_GLIB_CFLAGS

 I think it's the other way around.


 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 25a98c7..39e8c40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,9 +87,9 @@ NMA_CFLAGS="$NMA_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2"
 NMA_CFLAGS="$NMA_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2"
 
 PKG_CHECK_MODULES(LIBNM, [libnm gio-2.0 >= 2.32 gmodule-export-2.0])
-LIBNM_CFLAGS="$LIBNM_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
-LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2"
-LIBNM_CFLAGS="$LIBNM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2"
+LIBNM_GLIB_CFLAGS="$LIBNM_GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
+LIBNM_GLIB_CFLAGS="$LIBNM_GLIB_CFLAGS -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2"
+LIBNM_GLIB_CFLAGS="$LIBNM_GLIB_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2"
 
 PKG_CHECK_MODULES(LIBSECRET, [libsecret-unstable])
 
-- 
2.5.0



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