Merge commit 'fb3b2f5d923a6e19d80f21eb4e081674bceec810'
* commit 'fb3b2f5d923a6e19d80f21eb4e081674bceec810': configure: Set the thread type after resolving dependencies Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
cd88d89493
15
configure
vendored
15
configure
vendored
@ -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() {
|
|||||||
|
|
||||||
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user