# search for the system SQLite once with -ldl, and once without. If
# the library can only be found with $extralibs set to -ldl, then
# the code below will append -ldl to LIBS.
#
foreach extralibs {{} {-ldl}} {
# Locate the system SQLite by searching for sqlite3_open(). Then check
# if sqlite3_trace_v2() can be found as well. If we can find open() but
# not trace_v2(), then the system SQLite is too old to link against
# fossil.
#
if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
if {![check-function-in-lib sqlite3_trace_v2 sqlite3 $extralibs]} {
user-error "system sqlite3 too old (require >= 3.14.0)"
}
# Success. Update symbols and return.
#
define USE_SYSTEM_SQLITE 1
define-append LIBS -lsqlite3
define-append LIBS $extralibs

|
|
|
|

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106

# search for the system SQLite once with -ldl, and once without. If
# the library can only be found with $extralibs set to -ldl, then
# the code below will append -ldl to LIBS.
#
foreach extralibs {{} {-ldl}} {
# Locate the system SQLite by searching for sqlite3_open(). Then check
# if sqlite3_prepare_v3() can be found as well. If we can find open() but
# not prepare_v3(), then the system SQLite is too old to link against
# fossil.
#
if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
if {![check-function-in-lib sqlite3_prepare_v3 sqlite3 $extralibs]} {
user-error "system sqlite3 too old (require >= 3.20.0)"
}
# Success. Update symbols and return.
#
define USE_SYSTEM_SQLITE 1
define-append LIBS -lsqlite3
define-append LIBS $extralibs

Changes to www/changes.wiki.

1
2
3
4
5
6
7
8
9
10
11
12
13

<title>Change Log</title>
<a name='v2_3'></a>
<h2>Changes for Version 2.3 (2017-??-??)</h2>
* Update the built-in SQLite to version 3.19.2.
* Update internal Unicode character tables, used in regular expression
handling, from version 9.0 to 10.0.
* Show the last-sync-URL on the [/help?cmd=/urllist|/urllist] page.
* Fix "database locked" warnings caused by "PRAGMA optimize".
* Fix a potential XSS vulnerability on the
[/help?cmd=/help|/help] webpage.
* Documentation updates

|

1
2
3
4
5
6
7
8
9
10
11
12
13

<title>Change Log</title>
<a name='v2_3'></a>
<h2>Changes for Version 2.3 (2017-??-??)</h2>
* Update the built-in SQLite to version 3.20.0.
* Update internal Unicode character tables, used in regular expression
handling, from version 9.0 to 10.0.
* Show the last-sync-URL on the [/help?cmd=/urllist|/urllist] page.
* Fix "database locked" warnings caused by "PRAGMA optimize".
* Fix a potential XSS vulnerability on the
[/help?cmd=/help|/help] webpage.
* Documentation updates

This page was generated in about
0.008s by
Fossil 2.10 [b94e15cff7] 2019-09-13 13:54:36