Fossil SCM
Adapt "makefile.wiki" to new requirement: availability of FTS4
Commit
0b3464cf727e5653415d3bc8dcd84f33ea4ca6fb
Parent
bb4a13012143aff…
1 file changed
+7
-6
+7
-6
| --- www/makefile.wiki | ||
| +++ www/makefile.wiki | ||
| @@ -224,21 +224,22 @@ | ||
| 224 | 224 | |
| 225 | 225 | Some files require special C-preprocessor macro definitions. |
| 226 | 226 | When compiling sqlite.c, the following macros are recommended: |
| 227 | 227 | |
| 228 | 228 | * -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 229 | + * -DSQLITE_ENABLE_FTS4=1 | |
| 229 | 230 | * -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 230 | 231 | * -DSQLITE_THREADSAFE=0 |
| 231 | 232 | * -DSQLITE_DEFAULT_FILE_FORMAT=4 |
| 232 | 233 | * -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1 |
| 233 | 234 | |
| 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. | |
| 240 | 241 | |
| 241 | 242 | When compiling the shell.c source file, these macros are required: |
| 242 | 243 | |
| 243 | 244 | * -Dmain=sqlite3_main |
| 244 | 245 | * -DSQLITE_OMIT_LOAD_EXTENSION=1 |
| 245 | 246 |
| --- 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 |