[tracker/configure-for-binaries: 3/14] libtracker-data: Clean up CFLAGS/LIBS
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/configure-for-binaries: 3/14] libtracker-data: Clean up CFLAGS/LIBS
- Date: Thu, 21 Oct 2010 13:57:52 +0000 (UTC)
commit 44f7855d43dd11d14868d362808339d2f3fb65ef
Author: Martyn Russell <martyn lanedo com>
Date: Wed Oct 20 21:27:13 2010 +0100
libtracker-data: Clean up CFLAGS/LIBS
configure.ac | 11 +++++++++++
src/libtracker-data/Makefile.am | 14 +++-----------
2 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 88dd613..1f22beb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,6 +216,17 @@ LIBTRACKER_COMMON_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED"
PKG_CHECK_MODULES(LIBTRACKER_COMMON, [$LIBTRACKER_COMMON_REQUIRED])
+# Check requirements for libtracker-data
+LIBTRACKER_DATA_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
+ gio-unix-2.0 >= $GLIB_REQUIRED
+ dbus-1 >= $DBUS_REQUIRED
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED
+ sqlite3 >= $SQLITE_REQUIRED
+ uuid"
+PKG_CHECK_MODULES(LIBTRACKER_DATA, [$LIBTRACKER_DATA_REQUIRED])
+
+LIBTRACKER_DATA_LIBS="$LIBTRACKER_DATA_LIBS -lz -lm"
+
# Check for enca, detects defect Russian or Cyrillic language specifics in mp3s
AC_ARG_WITH(enca,
AS_HELP_STRING([--with-enca],
diff --git a/src/libtracker-data/Makefile.am b/src/libtracker-data/Makefile.am
index 71e1eee..608d321 100644
--- a/src/libtracker-data/Makefile.am
+++ b/src/libtracker-data/Makefile.am
@@ -9,11 +9,8 @@ INCLUDES = \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
- $(GLIB2_CFLAGS) \
- $(DBUS_CFLAGS) \
- $(UUID_CFLAGS) \
$(GCOV_CFLAGS) \
- $(SQLITE3_CFLAGS) \
+ $(LIBTRACKER_DATA_CFLAGS) \
$(UNICODE_SUPPORT_CFLAGS)
BUILT_SOURCES = libtracker-data.vala.stamp
@@ -85,14 +82,9 @@ libtracker_data_la_LDFLAGS = \
libtracker_data_la_LIBADD = \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql- TRACKER_API_VERSION@.la \
- $(SQLITE3_LIBS) \
- $(DBUS_LIBS) \
- $(GLIB2_LIBS) \
- $(UUID_LIBS) \
$(GCOV_LIBS) \
- $(UNICODE_SUPPORT_LIBS) \
- -lz \
- -lm
+ $(LIBTRACKER_DATA_LIBS) \
+ $(UNICODE_SUPPORT_LIBS)
if HAVE_TRACKER_FTS
libtracker_data_la_LIBADD += \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]