[network-manager-netbook] trivial: fix path escaping problems with mobile broadband provider db
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-netbook] trivial: fix path escaping problems with mobile broadband provider db
- Date: Thu, 14 Oct 2010 21:25:27 +0000 (UTC)
commit 1d1a2b38f2f6fde7d1d23a8384e77ec25c6198ac
Author: Dan Williams <dcbw redhat com>
Date: Thu Oct 14 16:28:42 2010 -0500
trivial: fix path escaping problems with mobile broadband provider db
configure.in | 6 +++++-
libnm-gtk/Makefile.am | 1 +
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 9545822..7baa7cd 100644
--- a/configure.in
+++ b/configure.in
@@ -24,10 +24,14 @@ AM_GLIB_GNU_GETTEXT
NM_REQUIRED=0.7.996
-PKG_CHECK_MODULES(LIBNM_GTK, gtk+-2.0 gconf-2.0 gnome-keyring-1 libnm-util >= $NM_REQUIRED libnm-glib >= $NM_REQUIRED mobile-broadband-provider-info)
+PKG_CHECK_MODULES(LIBNM_GTK, gtk+-2.0 gconf-2.0 gnome-keyring-1 libnm-util >= $NM_REQUIRED libnm-glib >= $NM_REQUIRED)
PKG_CHECK_MODULES(NMN, dbus-glib-1 >= 0.75 gtk+-2.0 gconf-2.0 gnome-keyring-1 libnotify libnm-util >= $NM_REQUIRED libnm-glib >= $NM_REQUIRED moblin-panel nbtk-gtk-1.2)
+dnl Check for mobile broadband provider database
+MBPI_DATABASE_PATH=`$PKG_CONFIG --variable=database`
+AC_SUBST(MBPI_DATABASE_PATH)
+
dnl Check for gnome-bluetooth
PKG_CHECK_MODULES(GNOME_BLUETOOTH,
gconf-2.0
diff --git a/libnm-gtk/Makefile.am b/libnm-gtk/Makefile.am
index 873366d..d031ef9 100644
--- a/libnm-gtk/Makefile.am
+++ b/libnm-gtk/Makefile.am
@@ -8,6 +8,7 @@ libnm_gtk_la_CPPFLAGS = \
-DUIDIR=\""$(uidir)"\" \
-DICONDIR=\""$(pkgdatadir)/icons"\" \
$(LIBNM_GTK_CFLAGS) \
+ -DMOBILE_BROADBAND_PROVIDER_INFO=\""$(MBPI_DATABASE_PATH)"\" \
-I${top_builddir}/marshallers \
-I${top_srcdir}/libnm-gtk/wireless-security \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]