[network-manager-fortisslvpn] build: properly substitute DBUS_* variables



commit fdb5f1c7b44e0767c5e285183d8a09c01d2680e0
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Sep 25 18:51:08 2015 +0200

    build: properly substitute DBUS_* variables
    
    We're looking for DBUS but using DBUS_GLIB. Also, AC_SUBST calls are redundant
    PKG_CHECK_MODULE does that.

 configure.ac |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bb9ad9d..40bf3c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,9 +66,7 @@ AC_SUBST(GLIB_CFLAGS)
 AC_SUBST(GLIB_LIBS)
 GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
 
-PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= 0.74)
-AC_SUBST(DBUS_GLIB_CFLAGS)
-AC_SUBST(DBUS_GLIB_LIBS)
+PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= 0.74)
 
 PKG_CHECK_MODULES(NM,
                   NetworkManager >= 0.9.10
@@ -80,8 +78,6 @@ AC_SUBST(NM_LIBS)
 
 if test x"$with_gnome" != xno; then
        PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)
-       AC_SUBST(GTK_CFLAGS)
-       AC_SUBST(GTK_LIBS)
        GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4"
 
        PKG_CHECK_MODULES(NMGTK, libnm-gtk >= 1.0.4)


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