summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2011-11-02 00:00:21 +0900
committerMichael Niedermayer <michaelni@gmx.at>2011-11-13 17:33:09 +0100
commitad0bdd2fd26a151404c505a1d610bf95773ae18f (patch)
tree56633a4f978804893bc581b14694c86b9f540ab9 /configure
parent88166fc579772c881c21fa6f63faa2ad49ce38e8 (diff)
lavc: add supports of OS/2 threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index d77f91bc5a..9e2908ba1e 100755
--- a/configure
+++ b/configure
@@ -94,6 +94,7 @@ Configuration options:
--disable-avfilter disable video filter support [no]
--disable-pthreads disable pthreads [auto]
--disable-w32threads disable Win32 threads [auto]
+ --disable-os2threads disable OS/2 threads [auto]
--enable-x11grab enable X11 grabbing [no]
--disable-network disable network support [no]
--enable-gray enable full grayscale support (slower color)
@@ -1069,6 +1070,7 @@ CONFIG_LIST="
THREADS_LIST='
pthreads
w32threads
+ os2threads
'
ARCH_LIST='
@@ -2656,6 +2658,7 @@ case $target_os in
emximp -o $(SUBDIR)$(LIBPREF)$(NAME)_dll.lib $(SUBDIR)$(NAME).def;'
SLIB_INSTALL_EXTRA_LIB='$(LIBPREF)$(NAME)_dll.a $(LIBPREF)$(NAME)_dll.lib'
enable dos_paths
+ enable_weak os2threads
;;
gnu/kfreebsd)
add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
@@ -2995,7 +2998,7 @@ 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 ! disabled pthreads && ! enabled w32threads; then
+if ! disabled pthreads && ! enabled w32threads && ! enabled os2threads; then
enable pthreads
if check_func pthread_create; then
: