From: Date: April 8 2006 10:19pm Subject: bk commit into 4.0 tree (bell:1.2177) BUG#18912 List-Archive: http://lists.mysql.com/commits/4676 X-Bug: 18912 Message-Id: <20060408201954.AF423455F11@sanja.is.com.ua> Below is the list of changes that have just been committed into a local 4.0 repository of bell. When bell does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2177 06/04/08 23:19:52 bell@stripped +1 -0 Check tinfo library presence and use it. (BUG#18912) acinclude.m4 1.102 06/04/08 23:19:51 bell@stripped +4 -1 Check tinfo library presence and use it. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: bell # Host: sanja.is.com.ua # Root: /home/bell/mysql/bk/work-4.0 --- 1.101/acinclude.m4 2005-03-29 19:55:46 +03:00 +++ 1.102/acinclude.m4 2006-04-08 23:19:51 +03:00 @@ -373,7 +373,8 @@ [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]) @@ -381,6 +382,8 @@ 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