Fossil SCM
Align recommended SQLite compilation options with actual options used when compiling SQLite. (I don't think SQLITE_ENABLE_EXPLAIN_COMMENTS should be one of them, it never was in earlier releases)
Commit
d0814e59e2354c1d11845765d2387415a42c1a76
Parent
5ceef9bcdd88b77…
9 files changed
+4
-5
+3
-3
+1
-1
+1
-1
+3
-4
+3
-4
+5
-6
+1
-1
+4
-5
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -376,17 +376,16 @@ | ||
| 376 | 376 | |
| 377 | 377 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 378 | 378 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 379 | 379 | |
| 380 | 380 | # Setup the options used to compile the included SQLite library. |
| 381 | -SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 381 | +SQLITE_OPTIONS = -Dlocaltime=fossil_localtime \ | |
| 382 | + -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 383 | + -DSQLITE_ENABLE_LOCKING_STYLE=0 \ | |
| 382 | 384 | -DSQLITE_THREADSAFE=0 \ |
| 383 | 385 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 384 | - -DSQLITE_OMIT_DEPRECATED \ | |
| 385 | - -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ | |
| 386 | - -Dlocaltime=fossil_localtime \ | |
| 387 | - -DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 386 | + -DSQLITE_OMIT_DEPRECATED | |
| 388 | 387 | |
| 389 | 388 | # Setup the options used to compile the included SQLite shell. |
| 390 | 389 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 391 | 390 | -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 392 | 391 | -Dsqlite3_strglob=strglob |
| 393 | 392 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -376,17 +376,16 @@ | |
| 376 | |
| 377 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 378 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 379 | |
| 380 | # Setup the options used to compile the included SQLite library. |
| 381 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 382 | -DSQLITE_THREADSAFE=0 \ |
| 383 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 384 | -DSQLITE_OMIT_DEPRECATED \ |
| 385 | -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ |
| 386 | -Dlocaltime=fossil_localtime \ |
| 387 | -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 388 | |
| 389 | # Setup the options used to compile the included SQLite shell. |
| 390 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 391 | -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 392 | -Dsqlite3_strglob=strglob |
| 393 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -376,17 +376,16 @@ | |
| 376 | |
| 377 | $(OBJDIR)/VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION $(OBJDIR)/mkversion |
| 378 | $(OBJDIR)/mkversion $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest $(SRCDIR)/../VERSION >$(OBJDIR)/VERSION.h |
| 379 | |
| 380 | # Setup the options used to compile the included SQLite library. |
| 381 | SQLITE_OPTIONS = -Dlocaltime=fossil_localtime \ |
| 382 | -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 383 | -DSQLITE_ENABLE_LOCKING_STYLE=0 \ |
| 384 | -DSQLITE_THREADSAFE=0 \ |
| 385 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 386 | -DSQLITE_OMIT_DEPRECATED |
| 387 | |
| 388 | # Setup the options used to compile the included SQLite shell. |
| 389 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 390 | -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 391 | -Dsqlite3_strglob=strglob |
| 392 |
+3
-3
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -129,18 +129,18 @@ | ||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | # Options used to compile the included SQLite library. |
| 132 | 132 | # |
| 133 | 133 | set SQLITE_OPTIONS { |
| 134 | + -Dlocaltime=fossil_localtime | |
| 134 | 135 | -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 136 | + -DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 135 | 137 | -DSQLITE_THREADSAFE=0 |
| 136 | 138 | -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 137 | 139 | -DSQLITE_OMIT_DEPRECATED |
| 138 | - -DSQLITE_ENABLE_EXPLAIN_COMMENTS | |
| 139 | - -Dlocaltime=fossil_localtime | |
| 140 | - -DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 141 | 140 | } |
| 141 | +#lappend SQLITE_OPTIONS -DSQLITE_ENABLE_EXPLAIN_COMMENTS | |
| 142 | 142 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_FTS3=1 |
| 143 | 143 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_STAT4 |
| 144 | 144 | #lappend SQLITE_OPTIONS -DSQLITE_WIN32_NO_ANSI |
| 145 | 145 | #lappend SQLITE_OPTIONS -DSQLITE_WINNT_MAX_PATH_CHARS=4096 |
| 146 | 146 | |
| 147 | 147 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -129,18 +129,18 @@ | |
| 129 | } |
| 130 | |
| 131 | # Options used to compile the included SQLite library. |
| 132 | # |
| 133 | set SQLITE_OPTIONS { |
| 134 | -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 135 | -DSQLITE_THREADSAFE=0 |
| 136 | -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 137 | -DSQLITE_OMIT_DEPRECATED |
| 138 | -DSQLITE_ENABLE_EXPLAIN_COMMENTS |
| 139 | -Dlocaltime=fossil_localtime |
| 140 | -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 141 | } |
| 142 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_FTS3=1 |
| 143 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_STAT4 |
| 144 | #lappend SQLITE_OPTIONS -DSQLITE_WIN32_NO_ANSI |
| 145 | #lappend SQLITE_OPTIONS -DSQLITE_WINNT_MAX_PATH_CHARS=4096 |
| 146 | |
| 147 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -129,18 +129,18 @@ | |
| 129 | } |
| 130 | |
| 131 | # Options used to compile the included SQLite library. |
| 132 | # |
| 133 | set SQLITE_OPTIONS { |
| 134 | -Dlocaltime=fossil_localtime |
| 135 | -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 136 | -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 137 | -DSQLITE_THREADSAFE=0 |
| 138 | -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 139 | -DSQLITE_OMIT_DEPRECATED |
| 140 | } |
| 141 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_EXPLAIN_COMMENTS |
| 142 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_FTS3=1 |
| 143 | #lappend SQLITE_OPTIONS -DSQLITE_ENABLE_STAT4 |
| 144 | #lappend SQLITE_OPTIONS -DSQLITE_WIN32_NO_ANSI |
| 145 | #lappend SQLITE_OPTIONS -DSQLITE_WINNT_MAX_PATH_CHARS=4096 |
| 146 | |
| 147 |
No diff available
+1
-1
| --- win/Makefile.PellesCGMake | ||
| +++ win/Makefile.PellesCGMake | ||
| @@ -83,11 +83,11 @@ | ||
| 83 | 83 | |
| 84 | 84 | # define the sqlite files, which need special flags on compile |
| 85 | 85 | SQLITESRC=sqlite3.c |
| 86 | 86 | ORIGSQLITESRC=$(foreach sf,$(SQLITESRC),$(SRCDIR)$(sf)) |
| 87 | 87 | SQLITEOBJ=$(foreach sf,$(SQLITESRC),$(sf:.c=.obj)) |
| 88 | -SQLITEDEFINES=-DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 88 | +SQLITEDEFINES=-Dlocaltime=fossil_localtime -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED | |
| 89 | 89 | |
| 90 | 90 | # define the sqlite shell files, which need special flags on compile |
| 91 | 91 | SQLITESHELLSRC=shell.c |
| 92 | 92 | ORIGSQLITESHELLSRC=$(foreach sf,$(SQLITESHELLSRC),$(SRCDIR)$(sf)) |
| 93 | 93 | SQLITESHELLOBJ=$(foreach sf,$(SQLITESHELLSRC),$(sf:.c=.obj)) |
| 94 | 94 |
| --- win/Makefile.PellesCGMake | |
| +++ win/Makefile.PellesCGMake | |
| @@ -83,11 +83,11 @@ | |
| 83 | |
| 84 | # define the sqlite files, which need special flags on compile |
| 85 | SQLITESRC=sqlite3.c |
| 86 | ORIGSQLITESRC=$(foreach sf,$(SQLITESRC),$(SRCDIR)$(sf)) |
| 87 | SQLITEOBJ=$(foreach sf,$(SQLITESRC),$(sf:.c=.obj)) |
| 88 | SQLITEDEFINES=-DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 89 | |
| 90 | # define the sqlite shell files, which need special flags on compile |
| 91 | SQLITESHELLSRC=shell.c |
| 92 | ORIGSQLITESHELLSRC=$(foreach sf,$(SQLITESHELLSRC),$(SRCDIR)$(sf)) |
| 93 | SQLITESHELLOBJ=$(foreach sf,$(SQLITESHELLSRC),$(sf:.c=.obj)) |
| 94 |
| --- win/Makefile.PellesCGMake | |
| +++ win/Makefile.PellesCGMake | |
| @@ -83,11 +83,11 @@ | |
| 83 | |
| 84 | # define the sqlite files, which need special flags on compile |
| 85 | SQLITESRC=sqlite3.c |
| 86 | ORIGSQLITESRC=$(foreach sf,$(SQLITESRC),$(SRCDIR)$(sf)) |
| 87 | SQLITEOBJ=$(foreach sf,$(SQLITESRC),$(sf:.c=.obj)) |
| 88 | SQLITEDEFINES=-Dlocaltime=fossil_localtime -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED |
| 89 | |
| 90 | # define the sqlite shell files, which need special flags on compile |
| 91 | SQLITESHELLSRC=shell.c |
| 92 | ORIGSQLITESHELLSRC=$(foreach sf,$(SQLITESHELLSRC),$(SRCDIR)$(sf)) |
| 93 | SQLITESHELLOBJ=$(foreach sf,$(SQLITESHELLSRC),$(sf:.c=.obj)) |
| 94 |
+1
-1
| --- win/Makefile.dmc | ||
| +++ win/Makefile.dmc | ||
| @@ -24,11 +24,11 @@ | ||
| 24 | 24 | CFLAGS = -o |
| 25 | 25 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 26 | 26 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 27 | 27 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 advapi32 |
| 28 | 28 | |
| 29 | -SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 29 | +SQLITE_OPTIONS = -Dlocaltime=fossil_localtime -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED | |
| 30 | 30 | |
| 31 | 31 | SHELL_OPTIONS = -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -Dsqlite3_strglob=strglob -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | 32 | |
| 33 | 33 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | 34 | |
| 35 | 35 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -24,11 +24,11 @@ | |
| 24 | CFLAGS = -o |
| 25 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 26 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 27 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 advapi32 |
| 28 | |
| 29 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED -DSQLITE_ENABLE_EXPLAIN_COMMENTS -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 30 | |
| 31 | SHELL_OPTIONS = -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -Dsqlite3_strglob=strglob -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | |
| 33 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | |
| 35 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -24,11 +24,11 @@ | |
| 24 | CFLAGS = -o |
| 25 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 26 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 27 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 advapi32 |
| 28 | |
| 29 | SQLITE_OPTIONS = -Dlocaltime=fossil_localtime -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_OMIT_DEPRECATED |
| 30 | |
| 31 | SHELL_OPTIONS = -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -Dsqlite3_strglob=strglob -Dgetenv=fossil_getenv -Dfopen=fossil_fopen |
| 32 | |
| 33 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c json_.c json_artifact_.c json_branch_.c json_config_.c json_diff_.c json_dir_.c json_finfo_.c json_login_.c json_query_.c json_report_.c json_status_.c json_tag_.c json_timeline_.c json_user_.c json_wiki_.c leaf_.c login_.c lookslike_.c main_.c manifest_.c markdown_.c markdown_html_.c md5_.c merge_.c merge3_.c moderate_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c regexp_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c unicode_.c update_.c url_.c user_.c utf8_.c util_.c verify_.c vfile_.c wiki_.c wikiformat_.c winfile_.c winhttp_.c wysiwyg_.c xfer_.c xfersetup_.c zip_.c |
| 34 | |
| 35 |
+3
-4
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -1698,17 +1698,16 @@ | ||
| 1698 | 1698 | $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h |
| 1699 | 1699 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1700 | 1700 | |
| 1701 | 1701 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1702 | 1702 | |
| 1703 | -SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 1703 | +SQLITE_OPTIONS = -Dlocaltime=fossil_localtime \ | |
| 1704 | + -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 1705 | + -DSQLITE_ENABLE_LOCKING_STYLE=0 \ | |
| 1704 | 1706 | -DSQLITE_THREADSAFE=0 \ |
| 1705 | 1707 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 1706 | 1708 | -DSQLITE_OMIT_DEPRECATED \ |
| 1707 | - -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ | |
| 1708 | - -Dlocaltime=fossil_localtime \ | |
| 1709 | - -DSQLITE_ENABLE_LOCKING_STYLE=0 \ | |
| 1710 | 1709 | -D_HAVE_SQLITE_CONFIG_H \ |
| 1711 | 1710 | -DSQLITE_USE_MALLOC_H \ |
| 1712 | 1711 | -DSQLITE_USE_MSIZE |
| 1713 | 1712 | |
| 1714 | 1713 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 1715 | 1714 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -1698,17 +1698,16 @@ | |
| 1698 | $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h |
| 1699 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1700 | |
| 1701 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1702 | |
| 1703 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 1704 | -DSQLITE_THREADSAFE=0 \ |
| 1705 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 1706 | -DSQLITE_OMIT_DEPRECATED \ |
| 1707 | -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ |
| 1708 | -Dlocaltime=fossil_localtime \ |
| 1709 | -DSQLITE_ENABLE_LOCKING_STYLE=0 \ |
| 1710 | -D_HAVE_SQLITE_CONFIG_H \ |
| 1711 | -DSQLITE_USE_MALLOC_H \ |
| 1712 | -DSQLITE_USE_MSIZE |
| 1713 | |
| 1714 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 1715 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -1698,17 +1698,16 @@ | |
| 1698 | $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h |
| 1699 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1700 | |
| 1701 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1702 | |
| 1703 | SQLITE_OPTIONS = -Dlocaltime=fossil_localtime \ |
| 1704 | -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 1705 | -DSQLITE_ENABLE_LOCKING_STYLE=0 \ |
| 1706 | -DSQLITE_THREADSAFE=0 \ |
| 1707 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 1708 | -DSQLITE_OMIT_DEPRECATED \ |
| 1709 | -D_HAVE_SQLITE_CONFIG_H \ |
| 1710 | -DSQLITE_USE_MALLOC_H \ |
| 1711 | -DSQLITE_USE_MSIZE |
| 1712 | |
| 1713 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 1714 |
+3
-4
| --- win/Makefile.mingw.mistachkin | ||
| +++ win/Makefile.mingw.mistachkin | ||
| @@ -1698,17 +1698,16 @@ | ||
| 1698 | 1698 | $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h |
| 1699 | 1699 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1700 | 1700 | |
| 1701 | 1701 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1702 | 1702 | |
| 1703 | -SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 1703 | +SQLITE_OPTIONS = -Dlocaltime=fossil_localtime \ | |
| 1704 | + -DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 1705 | + -DSQLITE_ENABLE_LOCKING_STYLE=0 \ | |
| 1704 | 1706 | -DSQLITE_THREADSAFE=0 \ |
| 1705 | 1707 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 1706 | 1708 | -DSQLITE_OMIT_DEPRECATED \ |
| 1707 | - -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ | |
| 1708 | - -Dlocaltime=fossil_localtime \ | |
| 1709 | - -DSQLITE_ENABLE_LOCKING_STYLE=0 \ | |
| 1710 | 1709 | -D_HAVE_SQLITE_CONFIG_H \ |
| 1711 | 1710 | -DSQLITE_USE_MALLOC_H \ |
| 1712 | 1711 | -DSQLITE_USE_MSIZE |
| 1713 | 1712 | |
| 1714 | 1713 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 1715 | 1714 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -1698,17 +1698,16 @@ | |
| 1698 | $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h |
| 1699 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1700 | |
| 1701 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1702 | |
| 1703 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 1704 | -DSQLITE_THREADSAFE=0 \ |
| 1705 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 1706 | -DSQLITE_OMIT_DEPRECATED \ |
| 1707 | -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ |
| 1708 | -Dlocaltime=fossil_localtime \ |
| 1709 | -DSQLITE_ENABLE_LOCKING_STYLE=0 \ |
| 1710 | -D_HAVE_SQLITE_CONFIG_H \ |
| 1711 | -DSQLITE_USE_MALLOC_H \ |
| 1712 | -DSQLITE_USE_MSIZE |
| 1713 | |
| 1714 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 1715 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -1698,17 +1698,16 @@ | |
| 1698 | $(OBJDIR)/zip.o: $(OBJDIR)/zip_.c $(OBJDIR)/zip.h $(SRCDIR)/config.h |
| 1699 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1700 | |
| 1701 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1702 | |
| 1703 | SQLITE_OPTIONS = -Dlocaltime=fossil_localtime \ |
| 1704 | -DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 1705 | -DSQLITE_ENABLE_LOCKING_STYLE=0 \ |
| 1706 | -DSQLITE_THREADSAFE=0 \ |
| 1707 | -DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 1708 | -DSQLITE_OMIT_DEPRECATED \ |
| 1709 | -D_HAVE_SQLITE_CONFIG_H \ |
| 1710 | -DSQLITE_USE_MALLOC_H \ |
| 1711 | -DSQLITE_USE_MSIZE |
| 1712 | |
| 1713 | SHELL_OPTIONS = -Dmain=sqlite3_shell \ |
| 1714 |
+5
-6
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -39,11 +39,11 @@ | ||
| 39 | 39 | !ifdef FOSSIL_ENABLE_SSL |
| 40 | 40 | INCL = $(INCL) -I$(SSLINCDIR) |
| 41 | 41 | !endif |
| 42 | 42 | |
| 43 | 43 | CFLAGS = -nologo -MT -O2 |
| 44 | -LDFLAGS = /NODEFAULTLIB:msvcrt /MANIFEST:NO | |
| 44 | +LDFLAGS = /NODEFAULTLIB:msvcrt | |
| 45 | 45 | |
| 46 | 46 | !ifdef DEBUG |
| 47 | 47 | CFLAGS = $(CFLAGS) -Zi |
| 48 | 48 | LDFLAGS = $(LDFLAGS) /DEBUG |
| 49 | 49 | !endif |
| @@ -64,17 +64,16 @@ | ||
| 64 | 64 | RCC = $(RCC) -DFOSSIL_ENABLE_SSL=1 |
| 65 | 65 | LIBS = $(LIBS) $(SSLLIB) |
| 66 | 66 | LIBDIR = $(LIBDIR) -LIBPATH:$(SSLLIBDIR) |
| 67 | 67 | !endif |
| 68 | 68 | |
| 69 | -SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 69 | +SQLITE_OPTIONS = /Dlocaltime=fossil_localtime \ | |
| 70 | + /DSQLITE_OMIT_LOAD_EXTENSION=1 \ | |
| 71 | + /DSQLITE_ENABLE_LOCKING_STYLE=0 \ | |
| 70 | 72 | /DSQLITE_THREADSAFE=0 \ |
| 71 | 73 | /DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 72 | - /DSQLITE_OMIT_DEPRECATED \ | |
| 73 | - /DSQLITE_ENABLE_EXPLAIN_COMMENTS \ | |
| 74 | - /Dlocaltime=fossil_localtime \ | |
| 75 | - /DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 74 | + /DSQLITE_OMIT_DEPRECATED | |
| 76 | 75 | |
| 77 | 76 | SHELL_OPTIONS = /Dmain=sqlite3_shell \ |
| 78 | 77 | /DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 79 | 78 | /Dsqlite3_strglob=strglob \ |
| 80 | 79 | /Dgetenv=fossil_getenv \ |
| 81 | 80 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -39,11 +39,11 @@ | |
| 39 | !ifdef FOSSIL_ENABLE_SSL |
| 40 | INCL = $(INCL) -I$(SSLINCDIR) |
| 41 | !endif |
| 42 | |
| 43 | CFLAGS = -nologo -MT -O2 |
| 44 | LDFLAGS = /NODEFAULTLIB:msvcrt /MANIFEST:NO |
| 45 | |
| 46 | !ifdef DEBUG |
| 47 | CFLAGS = $(CFLAGS) -Zi |
| 48 | LDFLAGS = $(LDFLAGS) /DEBUG |
| 49 | !endif |
| @@ -64,17 +64,16 @@ | |
| 64 | RCC = $(RCC) -DFOSSIL_ENABLE_SSL=1 |
| 65 | LIBS = $(LIBS) $(SSLLIB) |
| 66 | LIBDIR = $(LIBDIR) -LIBPATH:$(SSLLIBDIR) |
| 67 | !endif |
| 68 | |
| 69 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 70 | /DSQLITE_THREADSAFE=0 \ |
| 71 | /DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 72 | /DSQLITE_OMIT_DEPRECATED \ |
| 73 | /DSQLITE_ENABLE_EXPLAIN_COMMENTS \ |
| 74 | /Dlocaltime=fossil_localtime \ |
| 75 | /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 76 | |
| 77 | SHELL_OPTIONS = /Dmain=sqlite3_shell \ |
| 78 | /DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 79 | /Dsqlite3_strglob=strglob \ |
| 80 | /Dgetenv=fossil_getenv \ |
| 81 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -39,11 +39,11 @@ | |
| 39 | !ifdef FOSSIL_ENABLE_SSL |
| 40 | INCL = $(INCL) -I$(SSLINCDIR) |
| 41 | !endif |
| 42 | |
| 43 | CFLAGS = -nologo -MT -O2 |
| 44 | LDFLAGS = /NODEFAULTLIB:msvcrt |
| 45 | |
| 46 | !ifdef DEBUG |
| 47 | CFLAGS = $(CFLAGS) -Zi |
| 48 | LDFLAGS = $(LDFLAGS) /DEBUG |
| 49 | !endif |
| @@ -64,17 +64,16 @@ | |
| 64 | RCC = $(RCC) -DFOSSIL_ENABLE_SSL=1 |
| 65 | LIBS = $(LIBS) $(SSLLIB) |
| 66 | LIBDIR = $(LIBDIR) -LIBPATH:$(SSLLIBDIR) |
| 67 | !endif |
| 68 | |
| 69 | SQLITE_OPTIONS = /Dlocaltime=fossil_localtime \ |
| 70 | /DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 71 | /DSQLITE_ENABLE_LOCKING_STYLE=0 \ |
| 72 | /DSQLITE_THREADSAFE=0 \ |
| 73 | /DSQLITE_DEFAULT_FILE_FORMAT=4 \ |
| 74 | /DSQLITE_OMIT_DEPRECATED |
| 75 | |
| 76 | SHELL_OPTIONS = /Dmain=sqlite3_shell \ |
| 77 | /DSQLITE_OMIT_LOAD_EXTENSION=1 \ |
| 78 | /Dsqlite3_strglob=strglob \ |
| 79 | /Dgetenv=fossil_getenv \ |
| 80 |
+1
-1
| --- www/makefile.wiki | ||
| +++ www/makefile.wiki | ||
| @@ -208,11 +208,11 @@ | ||
| 208 | 208 | * -Dlocaltime=fossil_localtime |
| 209 | 209 | * -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 210 | 210 | * -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 211 | 211 | * -DSQLITE_THREADSAFE=0 |
| 212 | 212 | * -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 213 | - * -DSQLITE_ENABLE_STAT3 | |
| 213 | + * -DSQLITE_OMIT_DEPRECATED | |
| 214 | 214 | |
| 215 | 215 | The first and second symbol definitions above are required; the others |
| 216 | 216 | are merely recommended. The "localtime()" library function in SQLite must |
| 217 | 217 | be redefined to invoke fossil_localtime() instead. The fossil_localtime() |
| 218 | 218 | routine will invoke either gmtime() or localtime() depending on the |
| 219 | 219 |
| --- www/makefile.wiki | |
| +++ www/makefile.wiki | |
| @@ -208,11 +208,11 @@ | |
| 208 | * -Dlocaltime=fossil_localtime |
| 209 | * -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 210 | * -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 211 | * -DSQLITE_THREADSAFE=0 |
| 212 | * -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 213 | * -DSQLITE_ENABLE_STAT3 |
| 214 | |
| 215 | The first and second symbol definitions above are required; the others |
| 216 | are merely recommended. The "localtime()" library function in SQLite must |
| 217 | be redefined to invoke fossil_localtime() instead. The fossil_localtime() |
| 218 | routine will invoke either gmtime() or localtime() depending on the |
| 219 |
| --- www/makefile.wiki | |
| +++ www/makefile.wiki | |
| @@ -208,11 +208,11 @@ | |
| 208 | * -Dlocaltime=fossil_localtime |
| 209 | * -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 210 | * -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 211 | * -DSQLITE_THREADSAFE=0 |
| 212 | * -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 213 | * -DSQLITE_OMIT_DEPRECATED |
| 214 | |
| 215 | The first and second symbol definitions above are required; the others |
| 216 | are merely recommended. The "localtime()" library function in SQLite must |
| 217 | be redefined to invoke fossil_localtime() instead. The fossil_localtime() |
| 218 | routine will invoke either gmtime() or localtime() depending on the |
| 219 |