Fossil SCM

Fossil now needs at least SQLite 3.22, so check for that

jan.nijtmans 2018-01-16 08:32 trunk
Commit 37cbd97cab783a37d6a6b948ab6933fae3c2c1d7dd659ee2fac2e6e745442457
1 file changed +4 -4
+4 -4
--- auto.def
+++ auto.def
@@ -89,17 +89,17 @@
8989
# the code below will append -ldl to LIBS.
9090
#
9191
foreach extralibs {{} {-ldl}} {
9292
9393
# Locate the system SQLite by searching for sqlite3_open(). Then check
94
- # if sqlite3_prepare_v3() can be found as well. If we can find open() but
95
- # not prepare_v3(), then the system SQLite is too old to link against
94
+ # if sqlite3_vtab_collation() can be found as well. If we can find open() but
95
+ # not vtab_collation(), then the system SQLite is too old to link against
9696
# fossil.
9797
#
9898
if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
99
- if {![check-function-in-lib sqlite3_prepare_v3 sqlite3 $extralibs]} {
100
- user-error "system sqlite3 too old (require >= 3.20.0)"
99
+ if {![check-function-in-lib sqlite3_vtab_collation sqlite3 $extralibs]} {
100
+ user-error "system sqlite3 too old (require >= 3.22.0)"
101101
}
102102
103103
# Success. Update symbols and return.
104104
#
105105
define USE_SYSTEM_SQLITE 1
106106
--- auto.def
+++ auto.def
@@ -89,17 +89,17 @@
89 # the code below will append -ldl to LIBS.
90 #
91 foreach extralibs {{} {-ldl}} {
92
93 # Locate the system SQLite by searching for sqlite3_open(). Then check
94 # if sqlite3_prepare_v3() can be found as well. If we can find open() but
95 # not prepare_v3(), then the system SQLite is too old to link against
96 # fossil.
97 #
98 if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
99 if {![check-function-in-lib sqlite3_prepare_v3 sqlite3 $extralibs]} {
100 user-error "system sqlite3 too old (require >= 3.20.0)"
101 }
102
103 # Success. Update symbols and return.
104 #
105 define USE_SYSTEM_SQLITE 1
106
--- auto.def
+++ auto.def
@@ -89,17 +89,17 @@
89 # the code below will append -ldl to LIBS.
90 #
91 foreach extralibs {{} {-ldl}} {
92
93 # Locate the system SQLite by searching for sqlite3_open(). Then check
94 # if sqlite3_vtab_collation() can be found as well. If we can find open() but
95 # not vtab_collation(), then the system SQLite is too old to link against
96 # fossil.
97 #
98 if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
99 if {![check-function-in-lib sqlite3_vtab_collation sqlite3 $extralibs]} {
100 user-error "system sqlite3 too old (require >= 3.22.0)"
101 }
102
103 # Success. Update symbols and return.
104 #
105 define USE_SYSTEM_SQLITE 1
106

Keyboard Shortcuts

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