Add builtin tty support option
authorNelson Ferreira <nelson.ferreira@ieee.org>
Tue, 8 Sep 2015 22:08:12 +0000 (18:08 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Tue, 8 Sep 2015 22:08:12 +0000 (18:08 -0400)
* configure.ac: Add disabled by default --with-builtin-tty as last
resort to get a workable build with no other libraries.  A
workable terminal spec will be needed at runtime.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
configure.ac

index 18a5ccb..a48038d 100644 (file)
@@ -575,6 +575,13 @@ OG_ARG_WITH([termcap],
                [Use the termcap library for tty support.]),
        [auto], [Autodetect])
 
+OG_ARG_WITH([builtin-tty],
+       AS_HELP_STRING([--with-builtin-tty],
+               [Use builtin termcap like code. LEGACY CODE. Please consider
+               installing ncurses. Requires /etc/termcap or TERMCAP
+               environment variable to work.]),
+       [no], [No])
+
 
 OG_ARG_WITH([gpm],
        AS_HELP_STRING([--with-gpm],