aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index c1e24ef..eb2f892 100644
--- a/auto.def
+++ b/auto.def
@@ -138,10 +138,11 @@ if {[opt-bool ipv6 full]} {
msg-result "Enabling IPv6"
define JIM_IPV6
}
-if {[opt-bool lineedit full] && [cc-check-includes termios.h]} {
+if {[opt-bool lineedit full] && [cc-check-includes termios.h] && [cc-check-functions isatty]} {
msg-result "Enabling line editing"
define USE_LINENOISE
lappend extra_objs linenoise.o
+ cc-check-functions isatty
}
if {[opt-bool references]} {
msg-result "Enabling references"