mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
* configure.in: Also look for tputs in libcurses. (Bug#9736)
This commit is contained in:
parent
b00eea75d3
commit
fd8dea03e1
@ -1,3 +1,7 @@
|
||||
2011-10-13 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* configure.in: Also look for tputs in libcurses. (Bug#9736)
|
||||
|
||||
2011-10-12 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* configure.in: Remove check for -lintl (Bug#9713).
|
||||
|
12
configure.in
12
configure.in
@ -2772,11 +2772,15 @@ AC_CHECK_FUNCS(getpt)
|
||||
# than to expect to find it in ncurses.
|
||||
# Also we need tputs and friends to be able to build at all.
|
||||
have_tputs_et_al=true
|
||||
AC_SEARCH_LIBS(tputs, [ncurses terminfo termcap], , have_tputs_et_al=false)
|
||||
# Maybe curses should be tried earlier?
|
||||
# See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9736#35
|
||||
AC_SEARCH_LIBS(tputs, [ncurses terminfo termcap curses], , have_tputs_et_al=false)
|
||||
if test "$have_tputs_et_al" != true; then
|
||||
AC_MSG_ERROR([I couldn't find termcap functions (tputs and friends).
|
||||
Maybe some development libraries/packages are missing? Try installing
|
||||
libncurses-dev(el), libterminfo-dev(el) or similar.])
|
||||
AC_MSG_ERROR([The required function `tputs' was not found in any library.
|
||||
These libraries were tried: libncurses, libterminfo, libtermcap, libcurses.
|
||||
Please try installing whichever of these libraries is most appropriate
|
||||
for your system, together with its header files.
|
||||
For example, a libncurses-dev(el) or similar package.])
|
||||
fi
|
||||
# Must define this when any termcap library is found.
|
||||
AC_DEFINE(HAVE_LIBNCURSES, 1,
|
||||
|
Loading…
Reference in New Issue
Block a user