mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	epoll on Linux is broken with /dev/null so it needs to be disabled.
Instead of adding another BROKEN_* define, move event_init into osdep-*.c.
This commit is contained in:
		
							
								
								
									
										7
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# $Id: configure,v 1.59 2010-12-08 19:55:31 nicm Exp $
 | 
			
		||||
# $Id: configure,v 1.60 2010-12-30 20:41:07 nicm Exp $
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
#
 | 
			
		||||
@@ -30,8 +30,6 @@ cat <<EOF >>$CONFIG_H
 | 
			
		||||
#undef HAVE_ASPRINTF
 | 
			
		||||
#undef HAVE_BROKEN_CMSG_FIRSTHDR
 | 
			
		||||
#undef HAVE_BROKEN_CURSES_H
 | 
			
		||||
#undef HAVE_BROKEN_KQUEUE
 | 
			
		||||
#undef HAVE_BROKEN_POLL
 | 
			
		||||
#undef HAVE_BZERO
 | 
			
		||||
#undef HAVE_CLOSEFROM
 | 
			
		||||
#undef HAVE_DAEMON
 | 
			
		||||
@@ -185,8 +183,6 @@ EOF
 | 
			
		||||
	cat <<EOF >>$CONFIG_H
 | 
			
		||||
#define HAVE_ASPRINTF
 | 
			
		||||
#define HAVE_BROKEN_CMSG_FIRSTHDR
 | 
			
		||||
#define HAVE_BROKEN_KQUEUE
 | 
			
		||||
#define HAVE_BROKEN_POLL
 | 
			
		||||
#define HAVE_BZERO
 | 
			
		||||
#define HAVE_DAEMON
 | 
			
		||||
#define HAVE_DIRFD
 | 
			
		||||
@@ -222,7 +218,6 @@ EOF
 | 
			
		||||
    FreeBSD|DragonFly)
 | 
			
		||||
	cat <<EOF >>$CONFIG_H
 | 
			
		||||
#define HAVE_ASPRINTF
 | 
			
		||||
#define HAVE_BROKEN_KQUEUE
 | 
			
		||||
#define HAVE_BZERO
 | 
			
		||||
#define HAVE_CLOSEFROM
 | 
			
		||||
#define HAVE_DAEMON
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user