changeset 3001:605efb97f981

extended pthread to work under qnx
author alex
date Mon, 19 Nov 2001 14:11:57 +0000
parents 8f7b8eba7600
children 660026738a8f
files configure
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Nov 19 13:51:48 2001 +0000
+++ b/configure	Mon Nov 19 14:11:57 2001 +0000
@@ -1080,15 +1080,17 @@
 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