aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-07-13 09:47:40 +1000
committerSteve Bennett <steveb@workware.net.au>2023-08-13 12:43:28 +1000
commit9784dcf88e8f0204550b4218f1c77bfa510a497b (patch)
treed5fa4adb6dcb2d26dd541a1fc1dcbc134101fdf3 /auto.def
parent3c9587340bcd62eef8e246fcd1c0a2469943898f (diff)
downloadjimtcl-9784dcf88e8f0204550b4218f1c77bfa510a497b.zip
jimtcl-9784dcf88e8f0204550b4218f1c77bfa510a497b.tar.gz
jimtcl-9784dcf88e8f0204550b4218f1c77bfa510a497b.tar.bz2
jimsh, interp, tests: fixes when line editing is disabled
- Set jim::lineedit to indicate if line editing is configured - Ensure that aio tty works even if line editing is disabled - Skip some tests if line editing is not configured Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/auto.def b/auto.def
index 162f7d2..93cbdbf 100644
--- a/auto.def
+++ b/auto.def
@@ -464,8 +464,10 @@ if {[opt-bool-unless-minimal ssl]} {
define-append AS_CFLAGS -DUSE_TLSv1_2_method
}
}
-if {[opt-bool-unless-minimal lineedit]} {
- if {([cc-check-includes termios.h] && [have-feature isatty]) || [have-feature winconsole]} {
+
+# Still need to check termios.h and isatty even if lineedit is disabled
+if {([cc-check-includes termios.h] && [have-feature isatty]) || [have-feature winconsole]} {
+ if {[opt-bool-unless-minimal lineedit]} {
msg-result "Enabling line editing"
define USE_LINENOISE
define-append PARSE_UNIDATA_FLAGS -width