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 | 82961da831f0018c6ab177a46bd72daad32cd387 (patch) | |
tree | 151eb9d961880adea9e752595d060482799612c8 /auto.def | |
parent | b78082fffb3df0a64b33def5476b59b914f97de9 (diff) | |
download | jimtcl-82961da831f0018c6ab177a46bd72daad32cd387.zip jimtcl-82961da831f0018c6ab177a46bd72daad32cd387.tar.gz jimtcl-82961da831f0018c6ab177a46bd72daad32cd387.tar.bz2 |
Linenoise support for win32 console
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -98,6 +98,7 @@ switch -glob -- $host_os { mingw* { # We provide our own implementation of dlopen for mingw32 define-feature dlopen-compat + define-feature winconsole define TCL_PLATFORM_OS $host_os define TCL_PLATFORM_PLATFORM windows define TCL_PLATFORM_PATH_SEPARATOR {;} @@ -175,7 +176,7 @@ if {[opt-bool ipv6 full]} { define JIM_IPV6 } if {[opt-bool lineedit full]} { - if {[cc-check-includes termios.h] && [cc-check-functions isatty]} { + if {([cc-check-includes termios.h] && [cc-check-functions isatty]) || [have-feature winconsole]} { msg-result "Enabling line editing" define USE_LINENOISE lappend extra_objs linenoise.o |