aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-08-14 14:03:32 +0000
committerDiego Biurrun <diego@biurrun.de>2008-08-14 14:03:32 +0000
commitbf6ce82d817eb59f8329a231ab846e57087c3bb0 (patch)
treef87535186773177622a3285a91d3275cefcc891e
parent11a9d3e85309273df0d7aee2021a1555f6d0c8c8 (diff)
downloadffmpeg-bf6ce82d817eb59f8329a231ab846e57087c3bb0.tar.gz
Check for sys/select.h and poll.h unconditionally, not just if ffserver
is enabled. The headers are used throughout the code. Originally committed as revision 14755 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure9
1 files changed, 2 insertions, 7 deletions
diff --git a/configure b/configure
index d7747f8dc3..7dd76b7e44 100755
--- a/configure
+++ b/configure
@@ -1641,8 +1641,10 @@ check_header byteswap.h
check_header conio.h
check_header dlfcn.h
check_header malloc.h
+check_header poll.h
check_header sys/mman.h
check_header sys/resource.h
+check_header sys/select.h
check_header termios.h
if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
@@ -1652,13 +1654,6 @@ fi
enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib
enabled bzlib && check_lib bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
-# ffserver uses poll(),
-# if it's not found we can emulate it using select().
-if enabled ffserver; then
- check_header poll.h
- check_header sys/select.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