Fossil SCM

Adapt "makefile.wiki" to new requirement: availability of FTS4

jan.nijtmans 2015-02-03 13:26 trunk
Commit 0b3464cf727e5653415d3bc8dcd84f33ea4ca6fb
1 file changed +7 -6
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -224,21 +224,22 @@
224224
225225
Some files require special C-preprocessor macro definitions.
226226
When compiling sqlite.c, the following macros are recommended:
227227
228228
* -DSQLITE_OMIT_LOAD_EXTENSION=1
229
+ * -DSQLITE_ENABLE_FTS4=1
229230
* -DSQLITE_ENABLE_LOCKING_STYLE=0
230231
* -DSQLITE_THREADSAFE=0
231232
* -DSQLITE_DEFAULT_FILE_FORMAT=4
232233
* -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
233234
234
-The first symbol definition above is required; the others
235
-are merely recommended. Extension loading is omitted
236
-as a security measure. Fossil is single-threaded so mutexing is disabled
237
-in SQLite as a performance enhancement. The SQLITE_ENABLE_EXPLAIN_COMMENTS
238
-option makes the output of "EXPLAIN" queries in the
239
-"[/help?cmd=sqlite3|fossil sql]" command much more readable.
235
+The first two symbol definitions above are required; the others are merely
236
+recommended. Extension loading is omitted as a security measure. FTS4 is
237
+needed for the search feature. Fossil is single-threaded so mutexing is
238
+disabled in SQLite as a performance enhancement. The
239
+SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
240
+in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
240241
241242
When compiling the shell.c source file, these macros are required:
242243
243244
* -Dmain=sqlite3_main
244245
* -DSQLITE_OMIT_LOAD_EXTENSION=1
245246
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -224,21 +224,22 @@
224
225 Some files require special C-preprocessor macro definitions.
226 When compiling sqlite.c, the following macros are recommended:
227
228 * -DSQLITE_OMIT_LOAD_EXTENSION=1
 
229 * -DSQLITE_ENABLE_LOCKING_STYLE=0
230 * -DSQLITE_THREADSAFE=0
231 * -DSQLITE_DEFAULT_FILE_FORMAT=4
232 * -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
233
234 The first symbol definition above is required; the others
235 are merely recommended. Extension loading is omitted
236 as a security measure. Fossil is single-threaded so mutexing is disabled
237 in SQLite as a performance enhancement. The SQLITE_ENABLE_EXPLAIN_COMMENTS
238 option makes the output of "EXPLAIN" queries in the
239 "[/help?cmd=sqlite3|fossil sql]" command much more readable.
240
241 When compiling the shell.c source file, these macros are required:
242
243 * -Dmain=sqlite3_main
244 * -DSQLITE_OMIT_LOAD_EXTENSION=1
245
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -224,21 +224,22 @@
224
225 Some files require special C-preprocessor macro definitions.
226 When compiling sqlite.c, the following macros are recommended:
227
228 * -DSQLITE_OMIT_LOAD_EXTENSION=1
229 * -DSQLITE_ENABLE_FTS4=1
230 * -DSQLITE_ENABLE_LOCKING_STYLE=0
231 * -DSQLITE_THREADSAFE=0
232 * -DSQLITE_DEFAULT_FILE_FORMAT=4
233 * -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
234
235 The first two symbol definitions above are required; the others are merely
236 recommended. Extension loading is omitted as a security measure. FTS4 is
237 needed for the search feature. Fossil is single-threaded so mutexing is
238 disabled in SQLite as a performance enhancement. The
239 SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
240 in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
241
242 When compiling the shell.c source file, these macros are required:
243
244 * -Dmain=sqlite3_main
245 * -DSQLITE_OMIT_LOAD_EXTENSION=1
246

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button