* configure.ac: Tweak libcurses diagnostic.

This commit is contained in:
Paul Eggert 2017-10-24 11:46:30 -07:00
parent 3fc05cfaec
commit 19667f44ef

View file

@ -4033,8 +4033,7 @@ AC_CACHE_CHECK([for library containing tputs], [emacs_cv_tputs_lib],
[if test "${opsys}" = "mingw32"; then [if test "${opsys}" = "mingw32"; then
emacs_cv_tputs_lib='none required' emacs_cv_tputs_lib='none required'
else else
# Maybe curses should be tried earlier? # curses precedes termcap because of AIX (Bug#9736#35) and OpenIndiana.
# See https://debbugs.gnu.org/9736#35
for tputs_library in '' tinfo ncurses terminfo curses termcap; do for tputs_library in '' tinfo ncurses terminfo curses termcap; do
OLIBS=$LIBS OLIBS=$LIBS
if test -z "$tputs_library"; then if test -z "$tputs_library"; then
@ -4054,7 +4053,7 @@ fi])
AS_CASE(["$emacs_cv_tputs_lib"], AS_CASE(["$emacs_cv_tputs_lib"],
[no], [AC_MSG_ERROR([The required function 'tputs' was not found in any library. [no], [AC_MSG_ERROR([The required function 'tputs' was not found in any library.
The following libraries were tried (in order): The following libraries were tried (in order):
libtinfo, libncurses, libterminfo, libtermcap, libcurses libtinfo, libncurses, libterminfo, libcurses, libtermcap
Please try installing whichever of these libraries is most appropriate Please try installing whichever of these libraries is most appropriate
for your system, together with its header files. for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.])], For example, a libncurses-dev(el) or similar package.])],