150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
+
|
# Check compatibility of the system SQLite library by running the sqlcompttest.c
# program in the source tree
#
set cmdline {}
lappend cmdline {*}[get-define CCACHE]
lappend cmdline {*}[get-define CC] {*}[get-define CFLAGS]
lappend cmdline $::autosetup(dir)/../src/sqlcompattest.c -o conftest__
lappend cmdline {*}[get-define LDFLAGS]
lappend cmdline {*}[get-define LIBS]
set ok 1
set err [catch {exec-with-stderr {*}$cmdline} result errinfo]
if {$err} {
configlog "Failed: [join $cmdline]"
if {[string length $result]>0} {configlog $result}
configlog "============"
|