commit 3635ce17f794c24c625be29fd22e715c81c1f07c
Author: Christophe Fergeau <cferg...@mandriva.com>
Date:   Sun Nov 1 18:42:48 2009 +0100

    check for sqlite3 availability in configure.ac

 configure.ac    |    2 +-
 src/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 53b7375..e9b5e7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ AC_PROG_INTLTOOL([0.21])
 
 AC_CHECK_FUNCS([localtime_r])
 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
-PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.8.0 gobject-2.0)
+PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.8.0 gobject-2.0 sqlite3)
 
 dnl **************************************************
 dnl we've copied gchecksum from glib 2.16. Only use the
diff --git a/src/Makefile.am b/src/Makefile.am
index d911651..e025c20 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,7 +57,7 @@ noinst_HEADERS =              \
        sha1.h
 
 INCLUDES=$(LIBGPOD_CFLAGS)
-LIBS=$(LIBGPOD_LIBS) $(Z_LIBS) -lm -lsqlite3
+LIBS=$(LIBGPOD_LIBS) $(Z_LIBS) -lm
 
 if HAVE_LIBIPHONE
 LIBS+=-liphone

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to