summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2007-12-27 01:38:50 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-27 01:38:50 +0000
commit81644c2ee08899301efc852281efea4e3b8f7d11 (patch)
treecef30b637e1c51ba6d75ceee09f9748c5ef3e9ea /configure
parent945208caeaa058ecc477f5e34c526d7bb7c27ddb (diff)
Check for the presence of sys/select.h and conditionally #include it.
patch by Michael Kostylev, mik niipt ru Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 0a53633d6b..146eb6ca57 100755
--- a/configure
+++ b/configure
@@ -718,6 +718,7 @@ HAVE_LIST="
sdl_video_size
soundcard_h
sys_poll_h
+ sys_select_h
sys_soundcard_h
termios_h
threads
@@ -1563,6 +1564,7 @@ enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib
# if it's not found we can emulate it using select().
if enabled ffserver; then
check_header sys/poll.h
+ check_header sys/select.h
fi
# check for some common methods of building with pthread support