aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2007-02-15 07:44:10 +0000
committerFrançois Revol <revol@free.fr>2007-02-15 07:44:10 +0000
commitb0c858d83481aa85a33c582651ac6ad7d3c4795a (patch)
treedfbba31c4a03d5fb826ff24695f8216070e7157f /configure
parentbefa3397c54a495460fe4f18dd7e83a6221b0677 (diff)
downloadffmpeg-b0c858d83481aa85a33c582651ac6ad7d3c4795a.tar.gz
poll() emulation for BeOS, and maybe MinGW.
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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