# 'build' (==the being-built-on platform) define value and returns if
# if that value seems to indicate that it represents a Mac platform,
# else returns 0.
-#
-# TODO: have someone verify whether this is correct for the
-# non-Linux/BSD platforms.
proc proj-looks-like-mac {{key host}} {
switch -glob -- [get-define $key] {
*apple* {
#
# Trivia: for .dylib files, the linker needs the -dynamiclib flag
# instead of -shared.
-#
-# TODO: have someone verify whether this is correct for the
-# non-Linux/BSD platforms.
proc proj-dll-extension {} {
proc inner {key} {
switch -glob -- [get-define $key] {
########################################################################
# Internal helper for proj-defs-format_: returns a JSON-ish quoted
-# form of the given (JSON) string-type values.
+# form of the given string-type values. It only performs the most
+# basic of escaping. The input must not contain any control
+# characters.
proc proj-quote-str_ {value} {
return \"[string map [list \\ \\\\ \" \\\"] $value]\"
}
}
########################################################################
-# Expects a list of pairs of configure flags with the given names to
-# have been registered with autosetup, in this form:
+# Expects a list of pairs of configure flags which have been
+# registered with autosetup, in this form:
#
# { alias1 => canonical1
# aliasN => canonicalN ... }
#
# Sidebar: if we do this before the cc package is installed, it gets
# reverted by that package. Ergo, the cc package init will tell the
-# user "Build C compiler...cc" shortly before we tell them:
+# user "Build C compiler...cc" shortly before we tell them otherwise.
proc proj-redefine-cc-for-build {} {
if {![proj-is-cross-compiling]
- && "nope" eq [get-env CC_FOR_BUILD "nope"]
- && [get-define CC] ne [get-define CC_FOR_BUILD]} {
+ && [get-define CC] ne [get-define CC_FOR_BUILD]
+ && "nope" eq [get-env CC_FOR_BUILD "nope"]} {
user-notice "Re-defining CC_FOR_BUILD to CC=[get-define CC]. To avoid this, explicitly pass CC_FOR_BUILD=..."
define CC_FOR_BUILD [get-define CC]
}
-C Fix\sanother\sT.exe\stypo\sand\sremove\san\soutdated\sTODO.
-D 2024-11-03T05:33:45.188
+C Minor\sdoc\supdates.\sRemove\stwo\soutdated\stodos.
+D 2024-11-03T07:45:56.350
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F LICENSE.md c5b4009dca54d127d2d6033c22fd9cc34f53bedb6ef12c7cbaa468381c74ab28
F autosetup/default.auto 5cdf016de2140e50f1db190a02039dc42fb390af1dda4cc4853e3042a9ef0e82
F autosetup/jimsh0.c 27ea5f221359ef6c58780fc6c185aadbf8d3bee9a021331a3e5de0eba0dc6de6
F autosetup/pkg-config.tcl 4e635bf39022ff65e0d5434339dd41503ea48fc53822c9c5bde88b02d3d952ba
-F autosetup/proj.tcl d17e06959b233466dc4b02f811ec8b8d3689017287e1cc2f10fe6c2c87f79f86
+F autosetup/proj.tcl cb7983c8eb47c9518c3039556e655e5237952d9c068fe36c624e9f6a73cd1098
F autosetup/system.tcl 3a39d6e0b3bfba526fd39afe07c1d0d325e5a31925013a1ba7c671e1128e31bb
F autosetup/tmake.auto eaebc74ad538dfdd3c817c27eefc31930c20510c4f3a3704071f6cb0629ed71f
F autosetup/tmake.tcl a275793ec1b6f8708179af0acef1f6f10d46c2920739743f7a8720c6d700c7a9
F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7
F tool/warnings.sh 49a486c5069de041aedcbde4de178293e0463ae9918ecad7539eedf0ec77a139
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P ab97ff44e66fd3639adbae4e0cc387fbcd09fbd5cd90ec3df7294c3e7b3a446e
-R 854321bdbff572ab4026aca779bc79d2
+P 02208e6bfa7b791b958d45ad25eaac3a16d3e9f6ab203b9fc760c67785525395
+R 129876c7397cde2ce7d1cd13dddc82e3
U stephan
-Z 2c36c6fdbb9bb6f11a927793a835ae9d
+Z 719bb9a6901f4e1cd5a5816d1e6f64dc
# Remove this line to create a well-formed Fossil manifest.