[network-manager-iodine/lr/libnm: 1/11] build: only check for libnm-gtk when we're building GNOME support



commit 8109d4ecfba5c6ad7661a2c084b6dbeaa5ede3da
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Aug 24 16:58:55 2015 +0200

    build: only check for libnm-gtk when we're building GNOME support

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 972b7b3..0df603d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,8 @@ if test x"$with_gnome" != xno; then
                          [PKG_CHECK_MODULES(GTK, gtk+-2.0 > $gtk2_req)])
 
         PKG_CHECK_MODULES(LIBSECRET, libsecret-1)
+
+       PKG_CHECK_MODULES(NMGTK, libnm-gtk >= 0.9.9.0)
 fi
 
 PKG_CHECK_MODULES(NM,
@@ -66,8 +68,6 @@ PKG_CHECK_MODULES(NM,
                   libnm-glib  >= 0.9.2
                   libnm-glib-vpn >= 0.9.2)
 
-PKG_CHECK_MODULES(NMGTK, libnm-gtk >= 0.9.9.0)
-
 NM_COMPILER_WARNINGS
 
 AC_CONFIG_FILES([


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