--- cairo-1.10.0/configure~ 2010-09-06 12:16:46.000000000 -0400 +++ cairo-1.10.0/configure 2011-03-08 14:36:19.000000000 -0500 @@ -7392,6 +7392,9 @@ fi rm -rf conftest* ;; +*-*qnx6*) + PTHREAD_LIBS="-lc" + ;; esac need_locks="$enable_libtool_lock" @@ -33603,7 +33606,7 @@ case $host in -*-linux*|*-*bsd*|*-solaris*|*-*-darwin*) +*-linux*|*-*bsd*|*-solaris*|*-*-darwin*|*-*qnx6*) have_ld_preload="yes" ;; *)