# This file holds functions for autosetup which are specific to the
# sqlite build tree. They are in this file, instead of auto.def, so
# that they can be reused in the autoconf sub-tree. This file requires
-# functions from proj.tcl.
+# functions from the project-agnostic proj.tcl.
if {[string first " " $autosetup(srcdir)] != -1} {
user-error "The pathname of the source tree\
user-error "The pathname of the build directory\
may not contain space characters"
}
-#parray ::autosetup; exit 0
+
use proj
#
# We want the package version info to be emitted early on, but doing
#
# Default value for the --all flag. Can hypothetically be modified
- # by non-canonical builds.
+ # by non-canonical builds (it was added for a Tcl extension build
+ # mode which was eventually removed).
#
all-flag-default 0
}]]
# sqlite-configure BUILD_NAME { build-specific configure script }
#
# There are snippets of build-mode-specific decision-making in
-# [sqlite-configure-finalize]
+# [sqlite-configure-finalize], which gets run after $configScript.
proc sqlite-configure {buildMode configScript} {
proj-assert {$::sqliteConfig(build-mode) eq "unknown"} \
"sqlite-configure must not be called more than once"
#
# Reference: https://msteveb.github.io/autosetup/developer/
#
- # All configure flags must be described in an 'options' call. The
- # general syntax is:
+ # All configure flags must be described in one or more calls to
+ # autosetup's [options] and [options-add] functions. The general
+ # syntax of the single argument to those functions is a list contain
+ # a mapping of flags to help text:
#
# FLAG => {Help text}
#
########################################################################
set allFlags {
# Structure: a list of M {Z} pairs, where M is a descriptive
- # option group name and Z is a list of X Y pairs. X is a list of
+ # option group name and Z is a list of X Y pairs. X is a list of
# $buildMode name(s) to which the Y flags apply, or {*} to apply
# to all builds. Y is a {block} in the form expected by
- # autosetup's [options] command. Each block which is applicable
- # to $buildMode is appended to a new list before that list is
- # passed on to [options]. The order of each Y and sub-Y is
- # retained, which is significant for rendering of --help.
+ # autosetup's [options] and [options-add] command. Each block
+ # which is applicable to $buildMode is passed on to
+ # [options-add]. The order of each Y and sub-Y is retained, which
+ # is significant for rendering of --help.
+ #
+ # Maintenance note: [options] does not support comments in
+ # options, but we filter this object through
+ # [proj-strip-hash-comments] to remove them before passing them on
+ # to [options].
# When writing {help text blocks}, be aware that:
#
# pretty-printed.
#
# B) Vars and commands are NOT expanded, but we use a [subst] call
- # below which will replace (only) var refs.
+ # below which will replace (only) $var refs.
# Options for how to build the library
build-modes {
}
{canonical autoconf} {
rpath=1 => {Disable use of the rpath linker flag}
-
# soname: https://sqlite.org/src/forumpost/5a3b44f510df8ded
soname:=legacy
=> {SONAME for libsqlite3.so. "none", or not using this flag, sets no
-C Fix\sa\sproblem\swith\sthe\schecksum-vfs\sand\sdirect-overflow-reads.\sForum\spost\s[forum:350e147cd1\s|\s350e147cd1].
-D 2025-08-13T14:40:24.606
+C Doc\supdates\sin\sthe\sconfigure\sscript.\sNo\sfunctional\schanges.
+D 2025-08-13T16:49:55.791
F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F art/sqlite370.ico af56c1d00fee7cd4753e8631ed60703ed0fc6e90
F art/sqlite370.jpg d512473dae7e378a67e28ff96a34da7cb331def2
F art/sqlite370.svg 40b7e2fe8aac3add5d56dd86ab8d427a4eca5bcb3fe4f8946cb3794e1821d531
-F auto.def 82c32443a91c1062f7a48beec37dbb2d8d03447b1286bce8df5ebb6d8d353f8a
+F auto.def 44a0d1bf09d78355fc88251ccbf8e64e6341fd89c11de68a01c3645e53a2bade
F autoconf/Makefile.fallback 22fe523eb36dfce31e0f6349f782eb084e86a5620b2b0b4f84a2d6133f53f5ac
F autoconf/Makefile.in d0926d2309e563b5ebdfd711e5c218533acab79829a05eef4e97c3a92e17bf42
F autoconf/Makefile.msc f15ad424ca2820df8e39d9157965710af0a64d87773706706a12ea4f96e3a0d8
F autosetup/jimsh0.c 563b966c137a4ce3c9333e5196723b7ac0919140a9d7989eb440463cd855c367
F autosetup/pkg-config.tcl 4e635bf39022ff65e0d5434339dd41503ea48fc53822c9c5bde88b02d3d952ba
F autosetup/proj.tcl 7eaa83ccb6f5b250ee9192fa914918b0e2075edacf984c75fbf82cc2a6449c6c
-F autosetup/sqlite-config.tcl abf71bdc45b136e9210034c8c8402d021cab5923b5d22e4773b24ee7e1f479b5
+F autosetup/sqlite-config.tcl 988bcb408937721832390c2724b6204ff8b7b8e584c76be985ebe0b6686c8b24
F autosetup/system.tcl 51d4be76cd9a9074704b584e5c9cbba616202c8468cf9ba8a4f8294a7ab1dba9
F autosetup/teaish/README.txt b40071e6f8506500a2f7f71d5fc69e0bf87b9d7678dd9da1e5b4d0acbf40b1ca
F autosetup/teaish/core.tcl aee092fc71986d1272b835ea7492bb55ffc213a289502e4f14da80cf67b7e3c3
F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7
F tool/warnings.sh 1ad0169b022b280bcaaf94a7fa231591be96b514230ab5c98fbf15cd7df842dd
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 839c998443880161af06b9f7470ebfc828251c3c1accdae5f0fbbcc13408474c 8288edb9f930206f117823cf1d18af632dc6adbd7c4c3b9bcfc252e1a5e5b9cd
-R dcede90cf6ef73118b3438717934ae9c
-T +closed 8288edb9f930206f117823cf1d18af632dc6adbd7c4c3b9bcfc252e1a5e5b9cd
-U dan
-Z e946effdcb3d5b20b01e04f284da2068
+P 7b7ce5f17fd63932a050b917b4356c23eec6040d1c4f51136393d7c6e3d40a63
+R c2023e6f4f5cb66676dc8d4499f8e079
+U stephan
+Z b196e77561dc3bdad4b4d6b8962155a4
# Remove this line to create a well-formed Fossil manifest.