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.

Sent from my Samsung Galaxy S7 - powered by Three
-------- Original message --------From: Yuri <y...@rawbw.com> Date: 13/03/2018  
07:07  (GMT+00:00) To: General Discussion of SQLite Database 
<sqlite-users@mailinglists.sqlite.org> Subject: [sqlite] Why some options (ex. 
SQLITE_ENABLE_EXPLAIN_COMMENTS,
  SQLITE_ENABLE_DBPAGE_VTAB) are permanently enabled in Makefile.am,
  but are documented as user-defined? 
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 -DSQLITE_ENABLE_DBSTAT_VTAB

But all of these options (with -D) are documented here 
http://www.sqlite.org/compile.html as user-settable.


Yuri

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to