diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-07-13 09:47:40 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-08-13 12:43:28 +1000 |
commit | 9784dcf88e8f0204550b4218f1c77bfa510a497b (patch) | |
tree | d5fa4adb6dcb2d26dd541a1fc1dcbc134101fdf3 /auto.def | |
parent | 3c9587340bcd62eef8e246fcd1c0a2469943898f (diff) | |
download | jimtcl-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.def | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |