Hi,

See patch attached which will fail the configure process outright if either
libevent and/or a curses library are not found, as both these parts are
vital when trying to compile tmux.

I think it's just those two libraries.  Everything else that I can see is
gathered from compat/ if it cannot be found already.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.
Index: configure.ac
===================================================================
RCS file: /cvsroot/tmux/tmux/configure.ac,v
retrieving revision 1.4
diff -u -r1.4 configure.ac
--- configure.ac	31 Dec 2010 22:33:44 -0000	1.4
+++ configure.ac	1 Jan 2011 18:41:45 -0000
@@ -90,10 +90,17 @@
 AC_MSG_RESULT($found_glibc)
 
 # Look for libevent.
-AC_SEARCH_LIBS(event_init, event)
+AC_SEARCH_LIBS(event_init, event, found_libevent=yes, found_libevent=no)
+if test "x$found_libevent" = xno; then
+    AC_MSG_ERROR("No libevent was found -- are the header files installed?")
+fi
 
 # Look for curses.
-AC_SEARCH_LIBS(setupterm, [terminfo curses ncurses])
+AC_SEARCH_LIBS(setupterm, [terminfo curses ncurses], found_curses=yes,
+               found_curses = no)
+if test "x$found_curses" = xno; then
+    AC_MSG_ERROR("No curses was found -- are the header files installed?")
+fi
 
 # Look for networking libraries.
 AC_SEARCH_LIBS([inet_ntoa], [nsl])
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to