History

configure: add check for w32threads to enable it automatically

Janne Grunau committed 15 years ago

Commit ff3755c1 parent 704af3e1 file · +4 −1Browse files

Unified · Split

configure+4−1
@@ -2447,7 +2447,6 @@ case $target_os in · 2446 unmodified lines
2447 disable network2447 disable network
2448 else2448 else
2449 target_os=mingw322449 target_os=mingw32
2450 enable_weak w32threads
2451 fi2450 fi
2452 LIBTARGET=i3862451 LIBTARGET=i386
2453 if enabled x86_64; then2452 if enabled x86_64; then
@@ -2852,6 +2851,10 @@ check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex · 398 unmodified lines
2852disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib2851disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
2853disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib2852disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
2854 2853
2854if ! disabled w32threads && ! enabled pthreads; then
2855 check_func _beginthreadex && enable w32threads
2856fi
2857
2855# check for some common methods of building with pthread support2858# check for some common methods of building with pthread support
2856# do this before the optional library checks as some of them require pthreads2859# do this before the optional library checks as some of them require pthreads
2857if ! disabled pthreads && ! enabled w32threads; then2860if ! disabled pthreads && ! enabled w32threads; then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t