The test to check for working pthreads fails if the system can support

pthreads without any gcc options (for instance, Darwin).
patch by Alexander Strange <astrange at ithinksw dot com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14580 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-01-22 18:30:23 +00:00
parent d601428b98
commit 20f5b52854
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -2691,7 +2691,7 @@ if mingw32 ; then
elif hpux ; then
_ld_pthread=''
elif ( cc_check && $TMPO ) ; then # QNX
_ld_pthread=''
_ld_pthread=' ' # _ld_pthread='' would disable pthreads, but the test worked
elif ( cc_check -lpthread && $TMPO ) ; then
_ld_pthread='-lpthread'
elif ( cc_check -pthread && $TMPO ) ; then