stephan
|
caf8c28420
|
Potentially controversial/unconventional makefile symbol renamings and docs explaining them.
FossilOrigin-Name: 7eceb7539dcce16104a93ad0ca1f755f23621751878cc4b01465e61333795b72
|
2024-10-24 04:56:44 +00:00 |
|
stephan
|
ce236e031e
|
Generic build cleanups.
FossilOrigin-Name: be7b32a77f58ae3eb15cb828385035e63236b7e6c0669f90f2321f0509f0de1b
|
2024-10-24 04:34:39 +00:00 |
|
stephan
|
e74c738e55
|
Get Makefile.linux-generic (formerly Makefile.linux-gcc) working with jimsh in out-of-tree builds. Pass on -DHAVE_READLINE=1 to the sqlite3 shell if configure detects it.
FossilOrigin-Name: a555ff6dbc2ded5a9c65c8ef483f3197298848a580dda25ba0b721ba13167ad4
|
2024-10-24 03:50:40 +00:00 |
|
stephan
|
8c97ad8834
|
General make cleanups. Start adding a sanity-check mechanism to main.mk which does basic validation of the vars it expects to be set by the file which includes it. Get Makefile.linux-gcc working for the core-most rules.
FossilOrigin-Name: 85b2c73ccb85d7f5830a6fac692b380c5c79e7a54ee3fc6fc37343fa23816ef8
|
2024-10-24 03:14:40 +00:00 |
|
stephan
|
4dadb531b0
|
Rename some build vars for legibility. Fix hwaci-make-from-dot-in when the input file list is multi-line.
FossilOrigin-Name: fdb584421578cae825365d457cd533721839e3503f3744c77832c5925815b537
|
2024-10-24 01:26:50 +00:00 |
|
stephan
|
e615b73040
|
Fix out-of-tree builds configured with --disable-amalgamation.
FossilOrigin-Name: 182dac1c46f8ada2e1f3abd4959ac72f0ecfd451b41fbe699f5077f338ae7d62
|
2024-10-24 00:02:44 +00:00 |
|
stephan
|
6d288e2408
|
Remove unused configure check for clang-18.
FossilOrigin-Name: d73ac7286aba8e8f9d1236dd06f6055bc3026879ff15efb151cc54175d02e315
|
2024-10-23 17:40:07 +00:00 |
|
stephan
|
18f6445aea
|
Remove three autotools files which are not needed in the autosetup port.
FossilOrigin-Name: fc20861443ea52a058f556fdf1ddf03a41c538e3b97ff663833e422a50e38d66
|
2024-10-23 17:17:16 +00:00 |
|
stephan
|
8d69bd2a20
|
Fix a #define typo in jimsh0.c, eliminating the need to explicitly pass -DJIM_COMPAT when building it. This fix has since made its way upstream.
FossilOrigin-Name: 9b105abf6fb6425d223ab9319f539b9d0cc2df488e0c23c5070853ba4778ebee
|
2024-10-23 16:59:12 +00:00 |
|
stephan
|
a7d3d40e06
|
After compiling jimsh, run sanity tests on it to ensure that it is built with -DJIM_COMPAT and one of (-DHAVE_REALPATH, -DHAVE__FULLPATH).
FossilOrigin-Name: ea6a14a6e64c0ed2306b9b3048132659094259b95b49a9572f7178c26b28f93a
|
2024-10-23 16:46:46 +00:00 |
|
stephan
|
519fc4f8c2
|
Work around a minor JimTCL regexp incompatibility in tool/vdbe-compress.tcl. Summary: it thinks that backslash-escaped octal values are back-references, which it does not like.
FossilOrigin-Name: aeac23359bb681c0c86c55c83ab9c16973822f6bc4e1a11959102b062333e358
|
2024-10-23 16:03:51 +00:00 |
|
stephan
|
264c691863
|
Remove the configure-script VERSION check from tool/srctree-check.tcl, as it's not relevant in the autosetup build.
FossilOrigin-Name: 6c5826d7522eade0f5682367637f45b0b64a7cced3cd7d643a30fb9ab0acd2a9
|
2024-10-23 15:13:43 +00:00 |
|
stephan
|
284e70b3a1
|
Add missing export of LDFLAGS_DLOPEN to Makefile.in.
FossilOrigin-Name: d18af84bf76db16513791b43850c41dbb5a83c435b8d3e93afaa8c2920460ac7
|
2024-10-23 15:05:08 +00:00 |
|
stephan
|
8a6ddc551e
|
Another fix for autosetup/autosetup-find-tclsh for the case where a tclsh is found on the system.
FossilOrigin-Name: 19d78fcef469a15487953ce2d227746ad83c0360fdc42cd4b6df6a2bc5ebb8ae
|
2024-10-23 02:36:50 +00:00 |
|
stephan
|
5d6c11b766
|
Latest autosetup/autosetup-find-tclsh from [https://github.com/msteveb/autosetup/issues/67 | autosetup ticket #67].
FossilOrigin-Name: 0e33f6cd48cb844331e66bfcfd93f83671380edef70b1e6684c09a7d4671eb17
|
2024-10-23 02:22:57 +00:00 |
|
stephan
|
55fca9585c
|
Reorder some auto.def code to avoid breaking --help.
FossilOrigin-Name: 151d7dfc8da64932f624528ed55764df6408a578bddc741b3dbf2f14567a0d71
|
2024-10-23 02:17:46 +00:00 |
|
stephan
|
fdcd599992
|
Minor cleanups in the --with-wasi-sdk bits.
FossilOrigin-Name: d952c17981073cb0158b392edd9b0818dfba2456ab9997d360af56774c9f4216
|
2024-10-23 02:11:52 +00:00 |
|
stephan
|
54e1dff24b
|
Get auto.def handling the case that no tclsh is installed in a default location. If not, use jimsh if we can find realpath(), else bail out.
FossilOrigin-Name: 359741bc7624006014d73c4cf5cdd29fa38c33a446ed04b46032e5d3ca18d13c
|
2024-10-23 01:59:34 +00:00 |
|
stephan
|
591123eea9
|
Fix /dev/null and stderr redirection ordering in autosetup/autosetup-find-tclsh so that the extraneous strlcpy()/snprintf()/rand() warning output from ld on OpenBSD does not break detection of jimsh0.
FossilOrigin-Name: cd447e50d1b31e7539e4a8b5dc2a88c5a6a3814a28718b5829167b830dfd0edd
|
2024-10-23 01:33:15 +00:00 |
|
stephan
|
198b72cfe8
|
Use pkg-config for readline detection, if available. Unrelated minor tcl cleanups.
FossilOrigin-Name: 3a41ac08a443f96c3f34432f5034d2d12f03913f2a1db19d9f133b365b39ad20
|
2024-10-23 01:18:16 +00:00 |
|
stephan
|
fa8a7f88ff
|
Minor build docs and cleanups.
FossilOrigin-Name: 0eb96ea2d153c0f7bd9743b759849c95b3e9f1e6e4a9cdb30c26aa2ca43c1e14
|
2024-10-22 17:57:22 +00:00 |
|
stephan
|
4f72770b34
|
Minor cleanups to how configure generates tool/emcc.sh.
FossilOrigin-Name: 4484b4623684b09df018f85d95a2b2894a13f38013902831be20a263db605001
|
2024-10-22 13:02:48 +00:00 |
|
stephan
|
6ac6bedc80
|
Teach ext/wasm/GNUmakefile to use tool/emcc.sh and fix a syntax error in tool/emcc.sh.in. Work around a JimTCL incompatibility in tool/mkshellc.tcl.
FossilOrigin-Name: 24e0f6ecc67615a2a8c2df08aa47a782cf692fb1a5a59246eab83c0232e78edc
|
2024-10-22 12:56:00 +00:00 |
|
stephan
|
1e38a9cc1a
|
After discussing [4d4423df8d14] with Steve Bennett, do not prepend $prefix/bin to the search path for binaries, as that path is commonly used for cross-compiled targets and we want binaries which will run on the build host.
FossilOrigin-Name: f2008a7d797263de25eaed60d4b6bd5c87cdb917bb92cfc8700f91e6416d744c
|
2024-10-22 03:56:21 +00:00 |
|
stephan
|
894bd83f52
|
Touch configure-generated files at configure-time even if autosetup does not update them because their contents would not be changed. Works around wonky deps causing too-frequent rebuilds.
FossilOrigin-Name: 339b48af1728f6acb4c3a02f84bd432466dcc728d3d01f9728e82f3c6aedb002
|
2024-10-22 03:33:11 +00:00 |
|
stephan
|
f4ab0ad8ee
|
Rename hwaci-error to the more descriptive hwaci-fatal. Use autosetup's file-isexec instead of [file executable] for portability. Remove the binary file lookup cache - unnecessary complexity. When searching for tools like tclsh, check under $prefix/bin before checking the $PATH. This seems like the right thing to do, but the fact that autosetup's file-search API's do not do that by default leaves some room for doubt about the wisdom of this change.
FossilOrigin-Name: 4d4423df8d14fb683bb89bebeac4b108a40847259a116fcb634b9e6594907026
|
2024-10-22 03:12:11 +00:00 |
|
stephan
|
31465666ff
|
Bring checksymbols target up to date and add a TODO based on a feature request from the forum.
FossilOrigin-Name: c00a03256b3f06411f93e690f875e9bc59a750aeea3ecf84bf8c8bec7c08b8ae
|
2024-10-21 22:15:04 +00:00 |
|
stephan
|
744d986d17
|
Resolve two build FIXMEs.
FossilOrigin-Name: 4de51c165ca4d0ad66f5dd7aa16fc82c673c6791b65990339134fb26b858ec33
|
2024-10-21 21:32:58 +00:00 |
|
stephan
|
7968c38540
|
Get most of the numerous misc tool binaries building.
FossilOrigin-Name: fa74cbb40c0f2e0135ac97fc4fa899b2ab7973f925f154e8e18c85661d60e17f
|
2024-10-21 21:22:18 +00:00 |
|
stephan
|
ad8e79ce53
|
Simplify how the targets which may or may not be enabled, depending on config flags, are formulated in main.mk.
FossilOrigin-Name: 7bea793ce46ab5c41b242c5e69b4f9bd8536a9b106e8c39f7ac002451d5db6ea
|
2024-10-21 20:12:03 +00:00 |
|
stephan
|
5bae363b99
|
More build doc tweaks and get ./startup building.
FossilOrigin-Name: cee285029c7225a2457062eb2b4ea7c6a17a3a5ba5fb776ebbb4ea8be62b9fff
|
2024-10-21 19:51:32 +00:00 |
|
stephan
|
b124098e51
|
Start moving most Makefile.in docs over to main.mk. Fix compilation of tclsqlite.c.
FossilOrigin-Name: 5b154e08ab5e8a8fd1ac1b28debd46824ef55b533a60ca5711c55b5a59a871cd
|
2024-10-21 17:50:55 +00:00 |
|
stephan
|
59ac8f4c7f
|
Add docs introducing how to define and use autosetup configure flags. Use -DJIM_COMPAT when building jimsh to force its expr command to be syntax-compatible with canonical TCL.
FossilOrigin-Name: a6a275de3d975fdf7432d71a915b40426a976725ebd81a178b5e80d14cf3a2df
|
2024-10-21 16:06:49 +00:00 |
|
stephan
|
d54bae947d
|
Merge trunk into autosetup branch.
FossilOrigin-Name: 347a50e66fa17bba997f6cbaa5bd693d029df488e54c24f7e4db47b65e84ce81
|
2024-10-21 13:11:43 +00:00 |
|
dan
|
32d255851e
|
Avoid using LIKE in sqlite3expert.c, in case "PRAGMA case_sensitive_like" has been used or the "like" UDF replaced by something unexpected.
FossilOrigin-Name: 9f642b3dbc8febfacad97076030f44e9b40067e27222f2bcb84813c5765d3d2a
|
2024-10-21 10:47:24 +00:00 |
|
dan
|
b74c7880d6
|
Fix another problem with ".expert" and virtual tables. [forum:/forumpost/49d6a19ec|Forum post 49d6a19ec].
FossilOrigin-Name: 7a7162293c8fdb0078fe56948d697703539dd23273b2072990d4391c761e6ae2
|
2024-10-20 07:19:38 +00:00 |
|
stephan
|
a3d219a794
|
Build doc touchups.
FossilOrigin-Name: 109d441bf1bcdbc01d1f3f2aa145039539fc5aad02f91fc987a0c3702e21809d
|
2024-10-20 02:47:56 +00:00 |
|
stephan
|
84f952ba8f
|
A possible fix for some as-yet-unused configure code which looks for a module loader.
FossilOrigin-Name: c6c799a54b3fad2f8c2b73b0a88f64dda38736a283bbf4dd286ac9dd6d6bf153
|
2024-10-20 02:35:25 +00:00 |
|
stephan
|
ec5e611935
|
Cosmetic tweaks to auto.def.
FossilOrigin-Name: 476d2407e52ebf66e18f4f5f70c7c2a37bb4d253969c23e1e75d4cb0460a93e0
|
2024-10-20 01:41:36 +00:00 |
|
stephan
|
857bcb6035
|
Minor doc updates.
FossilOrigin-Name: 6578a8d59e351182ee16a1f4e4b2c88a042a92dd8b32049947aa0436464b8588
|
2024-10-20 01:34:13 +00:00 |
|
stephan
|
8bdece9034
|
Do not check for Emscripten when doing a --with-wasi-sdk build.
FossilOrigin-Name: 111cff2cf38886ccec11b45db8b891ec84e24d0b61d413b35fd474b51003e8f2
|
2024-10-20 01:14:54 +00:00 |
|
stephan
|
f9c73ef7c5
|
Generic build cleanups and reorgs.
FossilOrigin-Name: 365a3d71cf9e0be11e7b3e90b6500142619102d8321c1d6f8111f37117a57929
|
2024-10-20 01:09:51 +00:00 |
|
stephan
|
72c5b9bf0e
|
Add sqlite3_rsync to the docs at the top of mktoolzip.tcl. No code changes.
FossilOrigin-Name: 10f5c4a2fce8a9ea9b1533cabbaf4ca8549e72950d5c460c0f4501a9fc50e3e8
|
2024-10-19 22:45:50 +00:00 |
|
stephan
|
003d304c9b
|
More build cleanups and get it working with BSD make (which apparently does not support $< and behaves slightly differently than gmake with X?=Y).
FossilOrigin-Name: dcf4fc78fb2813d37eb56c358009f1e5225f28a0c85c710c8127db330efaf319
|
2024-10-19 20:53:46 +00:00 |
|
stephan
|
25557128fe
|
Move most of the makefile code into the static main.mk.
FossilOrigin-Name: 09905ed094f7102dbb4fc81b059452c50b48b0f3a2bd9736bed364b0639d89d7
|
2024-10-19 20:26:17 +00:00 |
|
stephan
|
abf470d7a3
|
Factor out all autosetup-processed @if/@else blocks from Makefile.in in prep for moving most of the makefile code into main.mk (which has, so far, been completely overlooked in this port but will now become the main basis for the static parts of the build). The idea is that all build configuration goes into a platform-dependent makefile which then includes main.mk.
FossilOrigin-Name: 707e0f5857d58ec8b457270f988126b1dd0f01b5a3445a43ff7b5429324b1b3d
|
2024-10-19 18:31:47 +00:00 |
|
stephan
|
816f4b9cc1
|
Generic build cleanups.
FossilOrigin-Name: 510afccf02dc9c3e3b928c64c34d10bee66a2343ecec6e24c4770cb0f139cd65
|
2024-10-19 16:58:17 +00:00 |
|
stephan
|
a505d89bbe
|
Merge trunk into autosetup branch.
FossilOrigin-Name: 2923a8924c92f62d07cb130462a8e6f4662837bad1a02bda53e630b64c692f60
|
2024-10-19 13:51:23 +00:00 |
|
stephan
|
6d8ec2aed4
|
Get tool-zip target, and its prerequisites, building.
FossilOrigin-Name: 38cc5db3a8f3079c9be18a9939dae9ba8f4411d4c2361369d697d32f536fc3a4
|
2024-10-19 13:44:16 +00:00 |
|
stephan
|
885fad890c
|
Add missing $(TEXE) suffixes in the tool-zip makefile target.
FossilOrigin-Name: 5a594dbcd533aa1e37acea1702db993672c3c0e621add9ea26a497c52037617f
|
2024-10-19 13:38:51 +00:00 |
|