Fossil SCM

Minor change to auto.def requested by [https://bugs.debian.org/961772]

drh 2020-08-20 19:51 trunk
Commit e6de5ec7500029981e768bb3d91c2677d44378389a5f8f2abdcbbcfe4f4a17f8
1 file changed +5 -2
+5 -2
--- auto.def
+++ auto.def
@@ -176,12 +176,15 @@
176176
}
177177
if {!$ok} {
178178
user-error "unable to compile SQLite compatibility test program"
179179
}
180180
set err [catch {exec-with-stderr ./conftest__} result errinfo]
181
- if {$err} {
182
- user-error $result
181
+ if {[get-define build] eq [get-define host]} {
182
+ set err [catch {exec-with-stderr ./conftest__} result errinfo]
183
+ if {$err} {
184
+ user-error $result
185
+ }
183186
}
184187
file delete ./conftest__
185188
}
186189
test_system_sqlite
187190
188191
--- auto.def
+++ auto.def
@@ -176,12 +176,15 @@
176 }
177 if {!$ok} {
178 user-error "unable to compile SQLite compatibility test program"
179 }
180 set err [catch {exec-with-stderr ./conftest__} result errinfo]
181 if {$err} {
182 user-error $result
 
 
 
183 }
184 file delete ./conftest__
185 }
186 test_system_sqlite
187
188
--- auto.def
+++ auto.def
@@ -176,12 +176,15 @@
176 }
177 if {!$ok} {
178 user-error "unable to compile SQLite compatibility test program"
179 }
180 set err [catch {exec-with-stderr ./conftest__} result errinfo]
181 if {[get-define build] eq [get-define host]} {
182 set err [catch {exec-with-stderr ./conftest__} result errinfo]
183 if {$err} {
184 user-error $result
185 }
186 }
187 file delete ./conftest__
188 }
189 test_system_sqlite
190
191

Keyboard Shortcuts

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