mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Generic build tinkering.
FossilOrigin-Name: b6c1772ce0278988ecaea485c4feb8b0919fa1530f0c53b8321d9bd2277b5acd
This commit is contained in:
13
auto.def
13
auto.def
@ -164,7 +164,7 @@ proc add-shell-opt {args} {
|
||||
}
|
||||
}
|
||||
|
||||
hwaci-check-exeext
|
||||
hwaci-exe-extension
|
||||
if {".exe" eq [get-define TARGET_EXEEXT]} {
|
||||
define SQLITE_OS_UNIX 0
|
||||
define SQLITE_OS_WIN 1
|
||||
@ -174,8 +174,7 @@ if {".exe" eq [get-define TARGET_EXEEXT]} {
|
||||
define SQLITE_OS_WIN 0
|
||||
# todo? add -DSQLITE_OS_UNIX=1 to CFLAGS?
|
||||
}
|
||||
define BDLL [hwaci-dll-extension build]
|
||||
define TDLL [hwaci-dll-extension host]
|
||||
hwaci-dll-extension
|
||||
|
||||
#########
|
||||
# Programs needed
|
||||
@ -323,8 +322,6 @@ hwaci-if-opt-truthy with-debug {
|
||||
msg-result no
|
||||
}
|
||||
|
||||
hwaci-check-rpath
|
||||
|
||||
########################################################################
|
||||
# TCL...
|
||||
define HAVE_TCL 0
|
||||
@ -477,6 +474,8 @@ if {"" eq [get-define CFLAGS_JIMSH]} {
|
||||
}; # end of tcl
|
||||
|
||||
|
||||
hwaci-check-rpath
|
||||
|
||||
########################################################################
|
||||
# Thread safety?
|
||||
msg-checking "Support threadsafe operation? "
|
||||
@ -867,8 +866,8 @@ hwaci-if-opt-truthy dump-defines {
|
||||
global DUMP_DEFINES_FILE
|
||||
msg-result "--dump-defines is creating file: $DUMP_DEFINES_FILE"
|
||||
make-config-header $DUMP_DEFINES_FILE \
|
||||
-bare {OPT_FEATURE_FLAGS SQLITE_OS* SQLITE_DEBUG LDFLAGS_* USE_*} \
|
||||
-str {BIN_* CC LD AR} \
|
||||
-bare {SQLITE_OS* SQLITE_DEBUG USE_*} \
|
||||
-str {BIN_* CC LD AR LDFLAG* OPT_*} \
|
||||
-auto {*}
|
||||
# achtung: ^^^^ whichever SQLITE_OS_foo flag which is set to 0 will
|
||||
# get _undefined_ here unless it's part of the -bare set.
|
||||
|
Reference in New Issue
Block a user