stephan
|
9243eb4ab8
|
Elaborate on how autosetup selects a tclsh to use.
FossilOrigin-Name: d3887895a33742fb1fc97235cf897d295b237a9fb5a84031826f9c1018106f18
|
2024-11-06 12:13:04 +00:00 |
|
stephan
|
598d0d1498
|
Minor doc tweaks.
FossilOrigin-Name: 2919a61bd4f8cb4f53462d4807cbc04ac5f71dd437cd693538754cf3f17d00cc
|
2024-11-06 08:29:47 +00:00 |
|
stephan
|
6da414ef41
|
When constructing the auto-reconfigure commands, only quote args which look like they need it. Minor doc updates.
FossilOrigin-Name: d4fbd34f7a4b0e6179cb06114d148fbc5d30b8dc8db0b764f4347dd50ff591ba
|
2024-11-06 07:20:20 +00:00 |
|
stephan
|
ebb3e03b6d
|
Minor doc tweaks and typo fixes.
FossilOrigin-Name: 406d9122b75990722ab79fdf42d4528d670645d8f778ca0b5a2a35fa1dc106c4
|
2024-11-06 06:44:35 +00:00 |
|
stephan
|
2e29bcd542
|
Split the motivation of the makefile var naming convention into its doc own section.
FossilOrigin-Name: bf42b93cc7a4f8de2308fa4e5a798a62797bc95d95e4b0bd06035c74413fa828
|
2024-11-06 06:06:43 +00:00 |
|
stephan
|
199925a352
|
Add a section to autosetup/README.md describing the motivations for the more glaring design decisions.
FossilOrigin-Name: c0940a822a63bff74585bd37401eca92f74ddf9fe95748d2474039ee9b2bd9b6
|
2024-11-06 05:54:27 +00:00 |
|
stephan
|
4c2f7e57a2
|
Add autosetup/README.md - maintenance-related docs for SQLite developers (e.g. how to update autosetup). Start marking up the proj.tcl APIs with autosetup's doc markup so that they appear in the ./configure --reference output.
FossilOrigin-Name: aa6213767f0d7e63c753e33aadb95cbeb8e522c22f2fe1bbfa4df66bea6e3380
|
2024-11-06 04:38:05 +00:00 |
|
stephan
|
e957bd1ce7
|
Enhance the --with-emsdk flag to use a default value of 'auto', meaning to search the environment for it, and to fail fatally if --with-emsdk is explicitly provided but the SDK is not found.
FossilOrigin-Name: 9724b747caa926bca09653ea6ac3c0f7869824c9a476eb81f03e1a6763552da1
|
2024-11-06 02:59:59 +00:00 |
|
stephan
|
2ad29f3611
|
Work around a TCL {list-quoting} quirk when escaped/deferred var derefs are passed in as values to the autotools-conventional --XYZdir flags (as seen in a downstream package build script).
FossilOrigin-Name: 6adfca7e85648584740c8a127b95bd46aaad45fa2d162bd44622bb47debbcbcb
|
2024-11-05 13:34:30 +00:00 |
|
stephan
|
6d443b0d74
|
auto.def: remove an extraneous global var, some dead tcl/makefile code/comments, and some extraneous output. Rename an internal-use proc. Disable the ext/wasm cleanup in the top-level (dist)clean because the noise from gmake is irritating.
FossilOrigin-Name: ee9eb8b157c93b33a8ac201c31169cdd1d2cf2f21da92f7a6a418a41e5a50b7b
|
2024-11-05 09:49:53 +00:00 |
|
stephan
|
e69d98df22
|
Enhance the rpath configure check to honor --exec-prefix=... Remove some debugging code and move other debugging code around.
FossilOrigin-Name: a8c1a82b56412a4277a3c9bf2b256d3bd22bd8aca9096b8d08fcc0bf7d9364cb
|
2024-11-05 08:21:47 +00:00 |
|
stephan
|
2fd38836dc
|
Fix typo of --libexec ==> --libexecdir, discovered via audit of a downstream build script. Unrelated doc touchups.
FossilOrigin-Name: a60e5d76d06ae0568fbc6e068a7012c77778607cd60da92a1b84ff8f33049a93
|
2024-11-04 12:11:20 +00:00 |
|
stephan
|
f3d279595e
|
When installing the shared lib, re-activate the accommodation of legacy-style .so links (removed in [80584e165e4]) based on two reports that not having those will cause all clients linked against the legacy naming convention to fail to dynamically link (which would preclude an update of a system-level libsqlite3 package). Set up the infrastructure needed for adding an SONAME to the library but do not yet activate it. See discussion in/around [forum:046133a7da|forum post 046133a7da].
FossilOrigin-Name: 1586eaceb1716fbeafc4af691d0f80206cd5390388b099d4939e6be5d3eb975b
|
2024-11-04 08:29:02 +00:00 |
|
stephan
|
7860052209
|
Minor internal doc additions.
FossilOrigin-Name: 9edc8582c97f40f546699e6d1fb075773d5476df81b6c3f8900d1f2716549295
|
2024-11-04 06:38:44 +00:00 |
|
stephan
|
266685c7e7
|
Latest upstream autosetup to get handling of (==ignoring) autotools' x-includes and x-libraries flags and stop leakage of some autosetup-init-level vars into auto.def's global scope.
FossilOrigin-Name: 307349bf91df2935efeaeb5617f43c2223aa7523e55034fb532cc4386a29d74c
|
2024-11-04 05:27:21 +00:00 |
|
stephan
|
05e279fa46
|
Latest upstream jimsh0.c, which accounts for the problem patched locally by [29b944959568].
FossilOrigin-Name: c7a5b7d2dbfd5c44980f7e9d7efc1e8c7882f192b14f534537745d0a0125909f
|
2024-11-04 04:12:02 +00:00 |
|
stephan
|
eb83747441
|
Minor doc correction and proj.tcl-internal API renaming.
FossilOrigin-Name: c8b24c590ef318e687ab76cd1a5d6c8fed84389e3ebbe544aa8b15759324958a
|
2024-11-04 03:43:07 +00:00 |
|
stephan
|
88349483ef
|
Move the .default-CFLAGS handling into a utility function, rename the corresponding file to .env-VAR, and apply that lookup to a couple more places.
FossilOrigin-Name: f01b61f21d105706e78eb1e3e7971e9ccb7a68250f8cda96ce285f0fd6b2f7f2
|
2024-11-03 21:32:24 +00:00 |
|
stephan
|
97c709b5be
|
If any autotools-conventional dir names are explicitly overridden via ./configure --dirname=X then export those names as-is to the makefile, otherwise derive them from $prefix. This is, at least in part, a compromise to provide package maintainers a way to specify a libdir which will be incorporated into the -rpath link flag (which we can only determine at configure-time).
FossilOrigin-Name: 832abe8a8a347718e47f73a1f9be1fb084a1c28cac6b1c70f6c9a9cabeb0fb53
|
2024-11-03 19:42:41 +00:00 |
|
stephan
|
c6cdee8303
|
Workaround for a compiler-specific jimsh compilation error reported in [forum:18e420d0b1404d63|forum post 18e420d0]. Reported upstream as [https://github.com/msteveb/jimtcl/issues/322|ticket #322].
FossilOrigin-Name: 29b94495956802d0eedcd669e45308c56278e43aab62bd7c3bb7153b47c9d4c0
|
2024-11-03 18:30:45 +00:00 |
|
stephan
|
18d21497b2
|
Minor doc updates. Remove two outdated todos.
FossilOrigin-Name: ad19237845b7791dd90fa4b3586f39f6ab700462e826baf53d4cde7f7fa06449
|
2024-11-03 07:45:56 +00:00 |
|
stephan
|
13f03afd17
|
Fix T.exe typos in main.mk which break installation on platforms where that value is not empty. Also some unrelated doc tweaks.
FossilOrigin-Name: ab97ff44e66fd3639adbae4e0cc387fbcd09fbd5cd90ec3df7294c3e7b3a446e
|
2024-11-03 01:31:34 +00:00 |
|
stephan
|
f0e7f4c1f2
|
An experiment in hybridizing overriding of autotools-conventional XYZdir vars, the goal being to be able to provide both overrriding of them at configure-time and make-time with sensible semantics. Based on notes from [forum:00d12a41f7|forum post 00d12a41f7].
FossilOrigin-Name: cc259bf5f176bf89b6effedfc716d19d2437fc761c20870d1c69205d4bcee12b
|
2024-11-02 05:50:22 +00:00 |
|
stephan
|
afb8798580
|
When configuring with --with-wasi-sdk, ensure that we use that SDK's 'ar' tool instead of whatever is in the PATH. When pushing/popping the define var scope for the jimsh compatility check, include more defines per consultation with autosetup's creator.
FossilOrigin-Name: 2dcc465a7090811ddbc210673f37b4c3a4439c501874abefd403efe1e98f5b17
|
2024-11-01 01:56:27 +00:00 |
|
drh
|
3764f632b8
|
Improved differentiation between antirez and msteveb linenoise.
FossilOrigin-Name: cfb4bfcf1498b3740d210c24a71be343e8e0f262f3d9bddd45a673011307068c
|
2024-10-31 11:19:22 +00:00 |
|
stephan
|
6d3f22cdc1
|
Add a missing 'close' call to proj-file-content-list.
FossilOrigin-Name: 005702f334e7c51d83fc1b142ab90fa6867c4c2e75c8a3d2a17e07669b47fb23
|
2024-10-31 09:25:58 +00:00 |
|
stephan
|
98eb4ad6ee
|
Add -trim flag to proj-file-content.
FossilOrigin-Name: babf66f5c7074c24ca8ae898cd850964e99cef41fd1395a0d6c582cab75ae3bf
|
2024-10-31 08:12:48 +00:00 |
|
stephan
|
07a1e3eb91
|
Minor cleanups to the linenoise flavor detection test.
FossilOrigin-Name: 3be32de1626f940e256076df76388e7633de57f340aac937f6a48d3585b96ca4
|
2024-10-30 23:10:38 +00:00 |
|
stephan
|
1e563f4817
|
Move the linenoise flavor check from auto.def to proj.tcl for re-use in downstream projects.
FossilOrigin-Name: 84e503dc1e3672fe7787fb747ed70ca14ad181a743925bd1658c40baaa8a27cd
|
2024-10-30 22:49:40 +00:00 |
|
stephan
|
26eccee741
|
proj.tcl/main.mk doc updates. No functional changes.
FossilOrigin-Name: e06574c6b4b666ef26f0fa06e6d60e5d896caaf1b1ca27f5369f5b7650d12b9b
|
2024-10-30 22:09:49 +00:00 |
|
stephan
|
7d7e82c9b1
|
Clean up and add docs to the TCL vetting steps. Make warning and error messages bold if stdout isatty.
FossilOrigin-Name: 47157dcf9ec6b52b37578bcd5dc5ace8c36e62c8ca2625c94252c15db784b115
|
2024-10-30 05:07:18 +00:00 |
|
stephan
|
47f4bb3f2d
|
Rename an almost-name-colliding auto.def function. Fix a refactoring-induced change which broke implicit lookup of tclConfig.sh. Add msg-debug proc to enable toggling of developer-level debug messages via a configure argument.
FossilOrigin-Name: 265ba15df1e64a50722118ac6d84667b0abd35fe8f4db28facf7788c50ac6cde
|
2024-10-29 18:50:25 +00:00 |
|
stephan
|
13e735a5b5
|
Add proj-assert proc and add a couple of asserts to the editline/readline checks.
FossilOrigin-Name: db9870caa806c902cae033a96fec48db1b2d78b96b124e568479c5326e006c9b
|
2024-10-29 08:14:34 +00:00 |
|
stephan
|
a94ca1d37c
|
Remove some dead auto.def code. Link tclsqlite3 shell against the .so instead of .a, analog to [45315f8f275d]. Move some header file tests which are only needed for jimsh into the jimsh compilability check block.
FossilOrigin-Name: 9a259026ae2dce5d60b80bd7d662a6e73734e51056f4a4226c3fa5ac636b5e3a
|
2024-10-29 03:29:45 +00:00 |
|
stephan
|
fe5602ffd9
|
Perform some makefile acrobatics to get the tclConfig.sh state applied for static makefiles.
FossilOrigin-Name: 9b141d108b64c8f4e1103de6f142d972b5151eed0f07988fea308fc71cec45b8
|
2024-10-28 17:20:18 +00:00 |
|
stephan
|
de4fc707b5
|
Rename the 'hwaci' auto.def utility API to the more generic 'proj' API, per /chat discussion. Fix a function name typo which caused readline detection to kill the configure in one code path.
FossilOrigin-Name: e20610f06bfc6f4ebc5806da05c307d91e1f0a8c7a7501a7953273dbf1816fee
|
2024-10-28 14:16:50 +00:00 |
|
stephan
|
5f05a7c3c7
|
Simplify how hwaci-xfer-options-aliases figures out whether flags are provided.
FossilOrigin-Name: f06122a543f7dac016c8da1cd92a629eb647142b95c85a131b9da8e0dc5516b0
|
2024-10-28 11:13:00 +00:00 |
|
stephan
|
5a6dc86df2
|
Have --enable-editline fail rather than emit a warning which would easily be overlooked by automated builds. The error message explains a potential workaround for activating libedit.
FossilOrigin-Name: 2bd1b9557a1619adcaf5aa6dc5d5d0972e8416dafc9f36621b409192be95223d
|
2024-10-28 02:11:51 +00:00 |
|
stephan
|
36cb4d03ac
|
Docs and small code cleanups in hwaci-common.tcl.
FossilOrigin-Name: 1353d4b600ae2849d2591b3fba0cad71289ee996334222a6886dc01cd4be5c07
|
2024-10-28 01:13:00 +00:00 |
|
stephan
|
1682fedaa0
|
Add --with-icu-config flag to use the icu-config binary to find the required ldflags for linking the ICU libraries.
FossilOrigin-Name: 64f33bb125102b3fec3901f4b56098429509ec0b6ce6e6b88af2393c344ac864
|
2024-10-28 00:56:31 +00:00 |
|
stephan
|
3a92a5c4b3
|
Re-order the auto.def flags logical groups. Add some discrete bold formatting to select configure output. Remove some dead code. Account for behavior misunderstanding of user-notice. Add the start of a 'make help' target. General cosmetic cleanups.
FossilOrigin-Name: ab95ee33dfe56bd3b223f978626e6014414881c30443a2b88c782de724c39ae1
|
2024-10-27 22:18:33 +00:00 |
|
stephan
|
2005250d7f
|
Generic cleanups in auto.def and hwaci-common.tcl.
FossilOrigin-Name: 428e542452bac99d48950f1f62b65b4e235636540b946151747e2d5b59dbfd99
|
2024-10-27 20:46:09 +00:00 |
|
stephan
|
5be20f3927
|
Doc additions and minor cleanups in the --flag alias handling.
FossilOrigin-Name: 37a1da038195365cd7eb866b3aa749ad8060a656ac38063520fdb70cf0a0e5f1
|
2024-10-27 20:14:49 +00:00 |
|
stephan
|
f6e86e38ac
|
Rename --with-readline-lib/inc to --with-readline-ldflags/cflags, for clarity, but retain the older names as aliases using autosetup's "hidden alias" feature. Rename the newly-added --with-icu-lib to --with-icu-ldflags (with no backwards compatibility).
FossilOrigin-Name: e50a03f9f2a40a5e65f874ffff234a7b397ce4ebdc7b360d4e6ade7575577c38
|
2024-10-27 20:04:23 +00:00 |
|
stephan
|
9905e7e22b
|
When readline is enabled, attempt to determine whether the completion API is compatible and, if it's not, disable it in the shell app.
FossilOrigin-Name: 4564dbe4ac0040803b5d139c9fff22a60a45b4769d80ad7c824456cc6b9f1722
|
2024-10-27 18:46:11 +00:00 |
|
stephan
|
c9f16f6562
|
configure: document why --enable-editline does not work and emit a warning with a potential alternative/workaround if it's used. Various cosmetic cleanups.
FossilOrigin-Name: ccb8f16f8a5c500b683800672aa4bc87d2f109e87ebdabf6c54d5b6dc69718f7
|
2024-10-27 05:28:52 +00:00 |
|
stephan
|
ac1f151796
|
Bring the automated readline detection up to parity with the legacy configure script.
FossilOrigin-Name: 2ddeb7a8f55735cc7f2cf95cbbb0b20c563ced87db1429816fcfb0ee89e751f0
|
2024-10-27 04:27:47 +00:00 |
|
stephan
|
bad9725a29
|
Correct sqlite3.pc to represent the library, not the CLI shell. Remove the half-baked an unused READLINE_H config define. Internal tcl doc fixes.
FossilOrigin-Name: c8c70353bbdcee20487766f5f03f1638a1c35022bb5f1249141b86d561f1b613
|
2024-10-27 02:08:38 +00:00 |
|
stephan
|
1fa0ef3ae8
|
Get --with-linenoise=DIR configure flag working.
FossilOrigin-Name: 66ce47e5de21c607d2ef1f1e6e639f3c6da132ff3db582e12bd174f7d89d8150
|
2024-10-26 21:51:04 +00:00 |
|
stephan
|
ccb1211b54
|
Patch bundle accumulated via /chat: add missing --enable/disable-shared flag to configure script and update testrunner.tcl for other configure script flag changes.
FossilOrigin-Name: 32fc9c3f62601684b4ded783a79ebf817d093588c87ece02b449c3542881b65a
|
2024-10-26 16:03:04 +00:00 |
|