[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SQLite patch for smsd
From: |
Pawel Kot |
Subject: |
Re: SQLite patch for smsd |
Date: |
Wed, 7 Apr 2010 15:22:56 +0200 |
Hi,
On Tue, Apr 6, 2010 at 17:36, Santeri Toikka <address@hidden> wrote:
>> - this:
>> + SQLITE_LIBS="-L/usr/lib -lsqlite3"
>> + SQLITE_CFLAGS="-I/usr/include"
>> is not correct, that should be detected from some pkg-config or
>> whatever; hardcoding won't work
>
> I didn't figure out how to do this. Postgre and MySQL packages deliver
> little helper applications, but SQLite doesn't. Therefore only basic header
> check is done here.
address@hidden:~$ pkg-config --cflags sqlite3
address@hidden:~$ pkg-config --libs sqlite3
-lsqlite3
In autoconf language that would be PKG_CHECK_MODULES() macro. See the
other examples in configure.in
take care,
--
Pawel Kot