[baobab/wip/vala] drop libgtop dependency
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/vala] drop libgtop dependency
- Date: Thu, 5 Jan 2012 18:31:05 +0000 (UTC)
commit cf2a16f17ecff329304a1efc14bc0966cc29ebb3
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jan 5 13:30:12 2012 -0500
drop libgtop dependency
and use PKG_CHECK_MODULES properly
configure.ac | 7 ++-----
src/Makefile.am | 6 +++---
2 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4873026..8241399 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,11 +39,8 @@ GLIB_GSETTINGS
GNOME_DOC_INIT
-PKG_CHECK_MODULES(BAOBAB, [
- glib-2.0 >= 2.30.0
- gtk+-3.0 >= 3.0.0
- libgtop-2.0
-])
+PKG_CHECK_MODULES(gtk, gtk+-3.0 >= 3.3.6)
+PKG_CHECK_MODULES(gio, gio-2.0 >= 2.30.0)
AC_CONFIG_FILES([
Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 0a82df2..4acfbd6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,16 +28,16 @@ baobab_SOURCES = \
main.vala
AM_CFLAGS = \
- $(BAOBAB_CFLAGS) \
+ $(gtk_CFLAGS) \
-Wall \
-Wno-unused-but-set-variable \
-Wno-unused-variable \
$(NULL)
baobab_LDFLAGS = -export-dynamic
-baobab_LDADD = \
+baobab_LDADD = \
-lm \
- $(BAOBAB_LIBS) \
+ $(gtk_LIBS) \
$(NULL)
MAINTAINERCLEANFILES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]