|
Line 0
Link Here
|
|
|
1 |
--- tools/ax_lib_readline.m4.orig 2016-08-11 02:38:59 UTC |
| 2 |
+++ tools/ax_lib_readline.m4 |
| 3 |
@@ -33,6 +33,7 @@ _bash_needmsg= |
| 4 |
fi |
| 5 |
AC_CACHE_VAL(bash_cv_termcap_lib, |
| 6 |
[AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc, |
| 7 |
+ [AC_CHECK_FUNC(readline, tgetent, bash_cv_termcap_lib=libc, |
| 8 |
[AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap, |
| 9 |
[AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo, |
| 10 |
bash_cv_termcap_lib=gnutermcap |
| 11 |
@@ -43,7 +44,7 @@ elif test "$ax_cv_curses_which" = "ncurs |
| 12 |
elif test "$ax_cv_curses_which" = "plaincurses"; then |
| 13 |
[AC_CHECK_LIB(curses, tgetent, bash_cv_termcap_lib=libcurses)] |
| 14 |
fi |
| 15 |
-)])])]) |
| 16 |
+)])])])]) |
| 17 |
if test "X$_bash_needmsg" = "Xyes"; then |
| 18 |
AC_MSG_CHECKING(which library has the termcap functions) |
| 19 |
fi |