diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-19 14:11:57 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-19 14:11:57 +0000 |
commit | 0faa3ec7888e04eec09b0177e82b239e7c06cb6c (patch) | |
tree | 6410524f6314a0ca84d3b425557b786f4a7b7c41 /configure | |
parent | 55667d037876010f99a2406847a167aedad37053 (diff) | |
download | mpv-0faa3ec7888e04eec09b0177e82b239e7c06cb6c.tar.bz2 mpv-0faa3ec7888e04eec09b0177e82b239e7c06cb6c.tar.xz |
extended pthread to work under qnx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3002 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1080,15 +1080,17 @@ else fi echores "$_dl" - echocheck "pthread" cat > $TMPC << EOF +#include <pthread.h> int main(void) { (void) pthread_create (0, 0, 0, 0); return 0; } EOF if cc_check -lpthread ; then _ld_pthread='-lpthread' elif cc_check -pthread ; then _ld_pthread='-pthread' +elif cc_check ; then # QNX + _ld_pthread='' else die "Lib pthread not found." fi |