diff options
author | bell@sanja.is.com.ua <> | 2006-04-13 16:06:52 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2006-04-13 16:06:52 +0300 |
commit | df69944e7316c1ab7fe0460420240f48ba117c13 (patch) | |
tree | 2b40d31a1f72ccb46f4497b047c1633848b64400 /config | |
parent | 014914cbcfddbfd7c342ccdace9070f9739fbe77 (diff) | |
download | mariadb-git-df69944e7316c1ab7fe0460420240f48ba117c13.tar.gz |
postmerge fix: added tinfo support.
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/misc.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index 5346b81fb03..d8199f5970e 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -361,7 +361,8 @@ AC_CACHE_VAL(mysql_cv_termcap_lib, [AC_CHECK_LIB(ncurses, tgetent, mysql_cv_termcap_lib=libncurses, [AC_CHECK_LIB(curses, tgetent, mysql_cv_termcap_lib=libcurses, [AC_CHECK_LIB(termcap, tgetent, mysql_cv_termcap_lib=libtermcap, - mysql_cv_termcap_lib=NOT_FOUND)])])]) + [AC_CHECK_LIB(tinfo, tgetent, mysql_cv_termcap_lib=libtinfo, + mysql_cv_termcap_lib=NOT_FOUND)])])])]) AC_MSG_CHECKING(for termcap functions library) if test "$mysql_cv_termcap_lib" = "NOT_FOUND"; then AC_MSG_ERROR([No curses/termcap library found]) @@ -369,6 +370,8 @@ elif test "$mysql_cv_termcap_lib" = "libtermcap"; then TERMCAP_LIB=-ltermcap elif test "$mysql_cv_termcap_lib" = "libncurses"; then TERMCAP_LIB=-lncurses +elif test "$mysql_cv_termcap_lib" = "libtinfo"; then +TERMCAP_LIB=-ltinfo else TERMCAP_LIB=-lcurses fi |