From b0c858d83481aa85a33c582651ac6ad7d3c4795a Mon Sep 17 00:00:00 2001 From: François Revol Date: Thu, 15 Feb 2007 07:44:10 +0000 Subject: poll() emulation for BeOS, and maybe MinGW. Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 014ac886e8..53f65d2f76 100755 --- a/configure +++ b/configure @@ -548,6 +548,7 @@ HAVE_LIST=' sdl sdl_video_size soundcard_h + sys_poll_h sys_soundcard_h threads w32threads @@ -1430,6 +1431,12 @@ check_func inet_aton check_func localtime_r enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no" +# ffserver uses poll(), +# if it's not found we can emulate it using select(). +if enabled ffserver; then + check_header sys/poll.h +fi + # check for some common methods of building with pthread support # do this before the optional library checks as some of them require pthreads if enabled pthreads; then -- cgit v1.2.3