Fossil SCM

Fossil needs SQLite 3.28.0 now, so check for that.

jan.nijtmans 2019-03-22 11:56 trunk
Commit e3258f1b4369ffd12abd524d75fd256665b6f3abfea6af936653b68c9fdf9441
1 file changed +4 -4
+4 -4
--- auto.def
+++ auto.def
@@ -126,17 +126,17 @@
126126
# the code below will append -ldl to LIBS.
127127
#
128128
foreach extralibs {{} {-ldl}} {
129129
130130
# Locate the system SQLite by searching for sqlite3_open(). Then check
131
- # if sqlite3_create_window_function can be found as well. If we can find open() but
132
- # not create_window_function(), then the system SQLite is too old to link against
131
+ # if sqlite3_stmt_isexplain can be found as well. If we can find open() but
132
+ # not stmt_isexplain(), then the system SQLite is too old to link against
133133
# fossil.
134134
#
135135
if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
136
- if {![check-function-in-lib sqlite3_create_window_function sqlite3 $extralibs]} {
137
- user-error "system sqlite3 too old (require >= 3.25.0)"
136
+ if {![check-function-in-lib sqlite3_stmt_isexplain sqlite3 $extralibs]} {
137
+ user-error "system sqlite3 too old (require >= 3.28.0)"
138138
}
139139
140140
# Success. Update symbols and return.
141141
#
142142
define USE_SYSTEM_SQLITE 1
143143
--- auto.def
+++ auto.def
@@ -126,17 +126,17 @@
126 # the code below will append -ldl to LIBS.
127 #
128 foreach extralibs {{} {-ldl}} {
129
130 # Locate the system SQLite by searching for sqlite3_open(). Then check
131 # if sqlite3_create_window_function can be found as well. If we can find open() but
132 # not create_window_function(), then the system SQLite is too old to link against
133 # fossil.
134 #
135 if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
136 if {![check-function-in-lib sqlite3_create_window_function sqlite3 $extralibs]} {
137 user-error "system sqlite3 too old (require >= 3.25.0)"
138 }
139
140 # Success. Update symbols and return.
141 #
142 define USE_SYSTEM_SQLITE 1
143
--- auto.def
+++ auto.def
@@ -126,17 +126,17 @@
126 # the code below will append -ldl to LIBS.
127 #
128 foreach extralibs {{} {-ldl}} {
129
130 # Locate the system SQLite by searching for sqlite3_open(). Then check
131 # if sqlite3_stmt_isexplain can be found as well. If we can find open() but
132 # not stmt_isexplain(), then the system SQLite is too old to link against
133 # fossil.
134 #
135 if {[check-function-in-lib sqlite3_open sqlite3 $extralibs]} {
136 if {![check-function-in-lib sqlite3_stmt_isexplain sqlite3 $extralibs]} {
137 user-error "system sqlite3 too old (require >= 3.28.0)"
138 }
139
140 # Success. Update symbols and return.
141 #
142 define USE_SYSTEM_SQLITE 1
143

Keyboard Shortcuts

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