diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-09-13 10:37:33 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-09-14 09:03:30 +1000 |
commit | b78082fffb3df0a64b33def5476b59b914f97de9 (patch) | |
tree | 89c5ca3084f4188c80920a2cb1ea867c0190386e /auto.def | |
parent | a758f8cefaa38292fa91e8bf7a097a5341edd3c5 (diff) | |
download | jimtcl-b78082fffb3df0a64b33def5476b59b914f97de9.zip jimtcl-b78082fffb3df0a64b33def5476b59b914f97de9.tar.gz jimtcl-b78082fffb3df0a64b33def5476b59b914f97de9.tar.bz2 |
Restructure linenoise in prep. for win32 support
Separate out the termios-specific code
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -174,11 +174,12 @@ if {[opt-bool ipv6 full]} { msg-result "Enabling IPv6" define JIM_IPV6 } -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 lineedit full]} { + if {[cc-check-includes termios.h] && [cc-check-functions isatty]} { + msg-result "Enabling line editing" + define USE_LINENOISE + lappend extra_objs linenoise.o + } } if {[opt-bool references]} { msg-result "Enabling references" |