emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106071: * configure.in: Also look fo


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106071: * configure.in: Also look for tputs in libcurses. (Bug#9736)
Date: Wed, 12 Oct 2011 22:16:59 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106071
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2011-10-12 22:16:59 -0400
message:
  * configure.in: Also look for tputs in libcurses.  (Bug#9736)
modified:
  ChangeLog
  configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2011-10-12 06:56:23 +0000
+++ b/ChangeLog 2011-10-13 02:16:59 +0000
@@ -1,3 +1,7 @@
+2011-10-13  Glenn Morris  <address@hidden>
+
+       * configure.in: Also look for tputs in libcurses.  (Bug#9736)
+
 2011-10-12  Paul Eggert  <address@hidden>
 
        * configure.in: Remove check for -lintl (Bug#9713).

=== modified file 'configure.in'
--- a/configure.in      2011-10-12 06:56:23 +0000
+++ b/configure.in      2011-10-13 02:16:59 +0000
@@ -2772,11 +2772,15 @@
 # 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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]