Commit cd88d894 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'fb3b2f5d'

* commit 'fb3b2f5d':
  configure: Set the thread type after resolving dependencies

Conflicts:
	configure
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 80793afb fb3b2f5d
...@@ -4423,13 +4423,6 @@ if ! disabled pthreads && ! enabled w32threads && ! enabled os2threads; then ...@@ -4423,13 +4423,6 @@ if ! disabled pthreads && ! enabled w32threads && ! enabled os2threads; then
check_code cc "pthread.h" "static pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER" || disable pthreads check_code cc "pthread.h" "static pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER" || disable pthreads
fi fi
for thread in $THREADS_LIST; do
if enabled $thread; then
test -n "$thread_type" &&
die "ERROR: Only one thread type must be selected." ||
thread_type="$thread"
fi
done
if enabled pthreads; then if enabled pthreads; then
check_func pthread_cancel check_func pthread_cancel
...@@ -4911,6 +4904,14 @@ merge_deps() { ...@@ -4911,6 +4904,14 @@ merge_deps() {
merge_deps libavfilter $FILTER_LIST merge_deps libavfilter $FILTER_LIST
for thread in $THREADS_LIST; do
if enabled $thread; then
test -n "$thread_type" &&
die "ERROR: Only one thread type must be selected." ||
thread_type="$thread"
fi
done
echo "install prefix $prefix" echo "install prefix $prefix"
echo "source path $source_path" echo "source path $source_path"
echo "C compiler $cc" echo "C compiler $cc"
......
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