Fossil SCM
Minor change to auto.def requested by [https://bugs.debian.org/961772]
Commit
e6de5ec7500029981e768bb3d91c2677d44378389a5f8f2abdcbbcfe4f4a17f8
Parent
00eb7a05b511d12…
1 file changed
+5
-2
M
auto.def
+5
-2
| --- auto.def | ||
| +++ auto.def | ||
| @@ -176,12 +176,15 @@ | ||
| 176 | 176 | } |
| 177 | 177 | if {!$ok} { |
| 178 | 178 | user-error "unable to compile SQLite compatibility test program" |
| 179 | 179 | } |
| 180 | 180 | 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 | + } | |
| 183 | 186 | } |
| 184 | 187 | file delete ./conftest__ |
| 185 | 188 | } |
| 186 | 189 | test_system_sqlite |
| 187 | 190 | |
| 188 | 191 |
| --- 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 |