Fossil SCM
Fossil needs SQLite 3.28.0 now, so check for that.
Commit
e3258f1b4369ffd12abd524d75fd256665b6f3abfea6af936653b68c9fdf9441
Parent
9b679012e0271b9…
1 file changed
+4
-4
M
auto.def
+4
-4
| --- auto.def | ||
| +++ auto.def | ||
| @@ -126,17 +126,17 @@ | ||
| 126 | 126 | # the code below will append -ldl to LIBS. |
| 127 | 127 | # |
| 128 | 128 | foreach extralibs {{} {-ldl}} { |
| 129 | 129 | |
| 130 | 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 | |
| 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 | 133 | # fossil. |
| 134 | 134 | # |
| 135 | 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)" | |
| 136 | + if {![check-function-in-lib sqlite3_stmt_isexplain sqlite3 $extralibs]} { | |
| 137 | + user-error "system sqlite3 too old (require >= 3.28.0)" | |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | # Success. Update symbols and return. |
| 141 | 141 | # |
| 142 | 142 | define USE_SYSTEM_SQLITE 1 |
| 143 | 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_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 |