summaryrefslogtreecommitdiffstats
path: root/rules/mysql.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-01-26 14:53:40 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-01-26 14:53:40 +0000
commit31290017226cefe9f5ea36beda9cc2518ca111a5 (patch)
tree9751b89b84492413acbc1ff6f54791c43480e05e /rules/mysql.in
parentaf1acf324da33150eb8666f75a4db8a0a59c81ae (diff)
downloadptxdist-31290017226cefe9f5ea36beda9cc2518ca111a5.tar.gz
ptxdist-31290017226cefe9f5ea36beda9cc2518ca111a5.tar.xz
* mysql solve fix dependency to termcap
- mysql can use ncurses or termcap - adding choice to the user git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6943 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/mysql.in')
-rw-r--r--rules/mysql.in25
1 files changed, 24 insertions, 1 deletions
diff --git a/rules/mysql.in b/rules/mysql.in
index 20283ae31..3685e1eea 100644
--- a/rules/mysql.in
+++ b/rules/mysql.in
@@ -3,10 +3,33 @@
menuconfig MYSQL
bool
prompt "mysql "
- select TERMCAP
+ select TERMCAP if MYSQL_TERMINAL_TERMCAP
+ select NCURSES if MYSQL_TERMINAL_NCURSES
select HOST_MYSQL
select ZLIB
+comment "build options ---"
+ depends on MYSQL
+
+choice
+ prompt "terminal library "
+ depends on MYSQL
+ default MYSQL_TERMINAL_NCURSES
+
+ config MYSQL_TERMINAL_NCURSES
+ bool
+ prompt "curses"
+ help
+ MySQL will use dynamic curses library for its terminal manipulation
+
+ config MYSQL_TERMINAL_TERMCAP
+ bool
+ prompt "termcap"
+ help
+ MySQL will use static termcap library for its terminal manipulation
+
+endchoice
+
choice
prompt "default charset "
depends on MYSQL