Re: Can't include SQLite libs in compile

2013-12-18 Thread Jordan H.
ing to wrap my head around automake... Thanks for all your help. Diego Elio Pettenò: > > On Wed, Dec 18, 2013 at 9:26 PM, Jordan H. mailto:jorda...@fastmail.fm>> wrote: > > Makefile.am: > > program_CFLAGS += @SQLITE_CFLAGS@ > program_LDADD += @SQLITE_LIB

Re: Can't include SQLite libs in compile

2013-12-18 Thread Jordan H.
ogram_LDFLAGS = `pkg-config --libs sqlite3` ...the program compiles just fine. Thomas Jahns: > Hi, > > On Dec 18, 2013, at 19:34 , Jordan H. wrote: >> Relevant part of configure.ac: >> >>PKG_CHECK_MODULES(SQLITE, [sqlite3 > $SQLITE_REQUIRED_VERSION]) > > Yo

Can't include SQLite libs in compile

2013-12-18 Thread Jordan H.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Relevant part of configure.ac: PKG_CHECK_MODULES(SQLITE, [sqlite3 > $SQLITE_REQUIRED_VERSION]) AC_SUBST([SQLITE3_CFLAGS]) AC_SUBST([SQLITE3_LIBS]) Even without $SQLITE_REQUIRED_VERSION it still fails. Relevant part of makefile.am:

Re: Where Do All These Macros Come From?

2013-05-24 Thread Jordan H.
ly defined. How is this possible? I'm sorry...I'm really confused here. On Fri 24 May 2013 07:28:17 AM PDT, Paul Smith wrote: > On Fri, 2013-05-24 at 07:25 -0700, Jordan H. wrote: >> Hello, folks! >> >> In learning automake I keep looking at example configure.ac file

Where Do All These Macros Come From?

2013-05-24 Thread Jordan H.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, folks! In learning automake I keep looking at example configure.ac files and in the tutorial someone says "oh, you can just use this here macro." I look in the automake manual, though (https://www.gnu.org/software/automake/manual/automake.ht

Re: Specifying Flag Order?

2013-05-23 Thread Jordan H.
$(TEST_VARIABLE) ... Is that correct? I guess I'm mainly writing this to think out loud and also to help anyone searching the nets for automake help. On Thu 23 May 2013 07:24:04 AM PDT, Jordan H. wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Yes, I'll try

Re: Specifying Flag Order?

2013-05-23 Thread Jordan H.
s/macros? I see in the automake manual an entire index but it doesn't seem to be beginner-friendly. Thanks. Luke Mewburn: > On Wed, May 22, 2013 at 04:46:36PM -0700, Jordan H. wrote: > | I'm using mysql in a program. Here is a snipped of my Makefile.am: > | >

Specifying Flag Order?

2013-05-22 Thread Jordan H.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I'm using mysql in a program. Here is a snipped of my Makefile.am: project_LDADD += -lboost_thread project_LDADD += -lboost_regex project_LDADD += -lboost_system AM_LDFLAGS = -L/usr/local/lib AM_LDFLAGS += `mysql_config --libs_