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.
|
2 months ago |
drh
|
583770af28
Omit unnecessary bold text in ./configure output.
|
2 months ago |
stephan
|
98eb4ad6ee
Add -trim flag to proj-file-content.
|
2 months ago |
stephan
|
ec04c41be6
Remove some proj-assert checks which are not valid on OpenBSD. Ensure that queued up notices about TCL warnings are displayed before leaving sqlite-check-tcl.
|
2 months ago |
stephan
|
7be78606ff
When reading in .default-CFLAGS, trim it.
|
2 months ago |
stephan
|
343fe033c0
If a file named .default-CFLAGS exists in the build dir, use its contents as the default value of the CFLAGS unless it's overridden by being passed in or in the environment.
|
2 months ago |
stephan
|
0e07bc36d9
When --with-wasi-sdk is active, temporarily swap CC and CC_FOR_BUILD for purposes of looking for APIs required by B.cc.
|
2 months ago |
stephan
|
c6cfc8e3ea
Change default CFLAGS to {-g -O2} to match the legacy build.
|
2 months ago |
stephan
|
1e563f4817
Move the linenoise flavor check from auto.def to proj.tcl for re-use in downstream projects.
|
2 months ago |
stephan
|
2d73547cdb
Expand [c0048e4482e9] to determine the linenoise API flavor via a compile test rather than guessing based on the filename.
|
2 months ago |
drh
|
9bcb0a510f
Fix the CLI so that it can use either the canonical Antirez linenoise
|
2 months ago |
stephan
|
7d7e82c9b1
Clean up and add docs to the TCL vetting steps. Make warning and error messages bold if stdout isatty.
|
2 months ago |
stephan
|
067f809402
Re-enable exporting of TCLLIBDIR at configure-time so that clients can override it once there rather than having to override it on an arbitrary number of make invocations (which they can still do, but now need not). Based on feedback in [forum:38f6988e57b738e5|forum post 38f6988e57b].
|
2 months ago |
stephan
|
5be33f7b3f
Split the core-most CFLAGS, which should not be overridable (like -fPIC), into CFLAGS.core, so that went CFLAGS=... is passed on in a make invocation the -fPIC flag is not lost (as reported in [forum:39f8c54391d38c72 | forum post 39f8c543]).
|
2 months ago |
stephan
|
691e7eceb6
Try to detect if --with-readline-cflags is passed a non-cflags value, e.g. readline/readline.h, and fail loudly if it is. The legacy configure accepted that formulation but silently did nothing useful with it and that formulation now causes the auto-completion test to fail, as reported in [forum:f13b8e8f38402367 | forum post f13b8e8f38402367].
|
2 months ago |
stephan
|
e034c18591
General auto.def cleanups and docs.
|
2 months ago |
stephan
|
ca698abb5a
Reformulate the readline completion signature compatibility test so that -Wunused-variable in the CFLAGS does not cause it to fail. Problem reported via email.
|
2 months ago |
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.
|
2 months ago |
stephan
|
d3335a7970
Remove some extraneous configure output.
|
2 months ago |
stephan
|
02834a9a3d
When either --readline or --editline are explicitly provided but the corresponding feature is not found, fail fatally. If not explicitly requested, simply disable that feature if the lib is not found.
|
2 months ago |
stephan
|
4cbc413a25
Minor --help text tweak.
|
2 months ago |
stephan
|
13e735a5b5
Add proj-assert proc and add a couple of asserts to the editline/readline checks.
|
2 months ago |
stephan
|
e32a50a025
Teach configure --editline to report itself to shell.c as either HAVE_EDITLINE or HAVE_READLINE, depending on which headers are available (editline/readline.h or readline/readline.h, both of which work and some systems only have the latter), but then link against libedit regardless of which one shell.c thinks it is using.
|
2 months ago |
stephan
|
7097105bea
Remove LDFLAGS_LIBZ from sqlite3.pc.in (pkg-config) because it's not needed by the library, only the shell. Re-enable the notice about --disable-static only being partially true.
|
2 months ago |
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.
|
2 months ago |
stephan
|
51d5aa0915
Calculate TCLLIBDIR in the makefile targets which use it, rather than via the configure script. This enables its use in static makefiles.
|
2 months ago |
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.
|
2 months ago |
stephan
|
99438c843c
Correct the default config value for HAVE_TCL (0 until proven otherwise) and fix the starting dir for SQLITE_AUTORECONFIG (formerly SQLITE_AUTOREMAKE), as reported in [forum:8ab69387008f2f6c | forum post 8ab69387008f2f6c].
|
2 months ago |
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.
|
2 months ago |
stephan
|
1682fedaa0
Add --with-icu-config flag to use the icu-config binary to find the required ldflags for linking the ICU libraries.
|
2 months ago |