Commit c79021c7 authored by diego's avatar diego

Check for sys/select.h and poll.h unconditionally, not just if ffserver

is enabled. The headers are used throughout the code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14755 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 00dd8632
...@@ -1641,8 +1641,10 @@ check_header byteswap.h ...@@ -1641,8 +1641,10 @@ check_header byteswap.h
check_header conio.h check_header conio.h
check_header dlfcn.h check_header dlfcn.h
check_header malloc.h check_header malloc.h
check_header poll.h
check_header sys/mman.h check_header sys/mman.h
check_header sys/resource.h check_header sys/resource.h
check_header sys/select.h
check_header termios.h check_header termios.h
if ! enabled_any memalign memalign_hack && enabled need_memalign ; then if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
...@@ -1652,13 +1654,6 @@ fi ...@@ -1652,13 +1654,6 @@ fi
enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib enabled zlib && check_lib zlib.h zlibVersion -lz || disable zlib
enabled bzlib && check_lib bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib 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 # check for some common methods of building with pthread support
# do this before the optional library checks as some of them require pthreads # do this before the optional library checks as some of them require pthreads
if enabled pthreads; then if enabled pthreads; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment