[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't include SQLite libs in compile

From: Diego Elio Pettenò
Subject: Re: Can't include SQLite libs in compile
Date: Wed, 18 Dec 2013 21:46:45 +0000

On Wed, Dec 18, 2013 at 9:26 PM, Jordan H. <address@hidden> wrote:

>     program_CFLAGS += @SQLITE_CFLAGS@
>     program_LDADD += @SQLITE_LIBS@

First you should not need to use AC_SUBST() for these variables at all if
you have the right pkg.m4.

Second, can you please post the full If you haven't defined
program_LDADD and program_CFLAGS before using += they are not going to work.

Third, you want to use $(SQLITE_CFLAGS) rather than the @@ replacement.

A bit of documentation for PKG_CHECK_MODULES can be found on my Autotools

Diego Elio Pettenò — Flameeyes
address@hidden —

reply via email to

[Prev in Thread] Current Thread [Next in Thread]