On Tue, 13 Mar 2018 00:07:41 -0700
Yuri escribió:
> Makefile.am has:
> AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ @FTS5_FLAGS@
> @JSON1_FLAGS@ @ZLIB_FLAGS@ @SESSION_FLAGS@ -DSQLITE_ENABLE_FTS3
> -DSQLITE_ENABLE_RTREE
> sqlite3_CFLAGS = $(AM_CFLAGS)
On 03/13/18 02:05, Clemens Ladisch wrote:
These options are used to compile the command-line shell (where you want
to have as many (debugging) features as possible), and to assemble the
amalgamation.
Having two sets of build options is quite confusing.
Yuri
Yuri wrote:
> Makefile.am has:
> AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ @FTS5_FLAGS@
> @JSON1_FLAGS@ @ZLIB_FLAGS@ @SESSION_FLAGS@ -DSQLITE_ENABLE_FTS3
> -DSQLITE_ENABLE_RTREE
> sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS
> -DSQLITE_ENABLE_DBPAGE_VTAB
Presumably the ".am" of "Makefile.am" refers to the single-file amalgamation.
However, some of the compile-time options can only be set when building from
the cannonical sources or generating the amalgamation... once the amalgamation
has been generated, those options are "baked in".
Graham.
Makefile.am has:
AM_CFLAGS = @THREADSAFE_FLAGS@ @DYNAMIC_EXTENSION_FLAGS@ @FTS5_FLAGS@
@JSON1_FLAGS@ @ZLIB_FLAGS@ @SESSION_FLAGS@ -DSQLITE_ENABLE_FTS3
-DSQLITE_ENABLE_RTREE
sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS
-DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_STMTVTAB
5 matches
Mail list logo