summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-19 14:11:57 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-19 14:11:57 +0000
commit0faa3ec7888e04eec09b0177e82b239e7c06cb6c (patch)
tree6410524f6314a0ca84d3b425557b786f4a7b7c41 /configure
parent55667d037876010f99a2406847a167aedad37053 (diff)
downloadmpv-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-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 75d77b75b7..037aaf5132 100755
--- a/configure
+++ b/configure
@@ -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