Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv17233

Modified Files:
        configure.ac 
Log Message:
Fail if no libevent or curses, from Thomas Adam.

Index: configure.ac
===================================================================
RCS file: /cvsroot/tmux/tmux/configure.ac,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- configure.ac        31 Dec 2010 22:33:44 -0000      1.4
+++ configure.ac        2 Jan 2011 15:45:43 -0000       1.5
@@ -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("libevent not found")
+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("curses not found")
+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-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to