aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
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