summaryrefslogtreecommitdiff
path: root/config/companion_libs
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-06 08:04:33 (GMT)
committerGitHub <noreply@github.com>2017-02-06 08:04:33 (GMT)
commit46bfc8a4dc53779f6f7eff164a00321947a796d1 (patch)
tree7a5fdf2b347c73b8d716954c985eb2abb3af6f40 /config/companion_libs
parentee12992547573e074ae531e20327ca1410041fb6 (diff)
parentef841ea31232bc880080353ab61ad1d562004b28 (diff)
Merge pull request #575 from stilor/ncurses-configure
Allow some tunables for ncurses
Diffstat (limited to 'config/companion_libs')
-rw-r--r--config/companion_libs/ncurses.in55
1 files changed, 49 insertions, 6 deletions
diff --git a/config/companion_libs/ncurses.in b/config/companion_libs/ncurses.in
index 2e98d8e..68ecbb7 100644
--- a/config/companion_libs/ncurses.in
+++ b/config/companion_libs/ncurses.in
@@ -18,15 +18,58 @@ config NCURSES_VERSION
# CT_INSERT_VERSION_STRING_BELOW
default "6.0" if NCURSES_V_6_0
-if NCURSES
-
config NCURSES_NEW_ABI
- bool
- prompt "ncurses 6.0 ABI support"
+ bool "ncurses 6.0 ABI support"
depends on EXPERIMENTAL
- depends on NCURSES
help
This option allows you to use the new ncurses-6 ABI.
It's wise to leave this disabled and stick with the ncurses-5 ABI!
-endif # NCURSES
+config NCURSES_HOST_CONFIG_ARGS
+ string "Extra configure arguments for host ncurses"
+ help
+ Extra arguments that are passed verbatim to the configure when
+ building host ncurses.
+
+config NCURSES_HOST_DISABLE_DB
+ bool "Disable terminfo DB on the host"
+ default y
+ help
+ The terminfo database is not currently not installed on the host
+ as a part of the toolchain built by crosstool-ng. This means the
+ library will not be able to use the terminals, unless that database
+ comes preinstalled.
+
+ Selecting this option allows one to embed some popular terminal
+ definitions into the library itself.
+
+ If not select, the path to the terminfo database on the host will
+ likely need to be passed as an argument to configure.
+
+config NCURSES_HOST_FALLBACKS
+ string "List of fallback terminals for the host"
+ default "linux,xterm,xterm-color,xterm-256color,vt100"
+ help
+ List of terminal descriptions that will be compiled into the curses
+ library for the host.
+
+config NCURSES_TARGET_CONFIG_ARGS
+ string "Extra configure arguments for target ncurses"
+ help
+ Extra arguments that are passed verbatim to the configure when
+ building target ncurses.
+
+config NCURSES_TARGET_DISABLE_DB
+ bool "Disable terminfo DB on the target"
+ default n
+ help
+ The terminfo database is installed with the terminfo database for the
+ target. If you want to configure ncurses with preselected terminals,
+ select Y here.
+
+config NCURSES_TARGET_FALLBACKS
+ string "List of fallback terminals for the target"
+ help
+ List of terminal descriptions that will be compiled into the curses
+ library for the target.
+