# HG changeset patch # User alex # Date 1006179117 0 # Node ID 605efb97f9818e25f933f81db3e416e4148a4898 # Parent 8f7b8eba760076567455b5318b3cb09ccdc9fe9e extended pthread to work under qnx diff -r 8f7b8eba7600 -r 605efb97f981 configure --- 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 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