2 dnl And better, use gthreads instead...
5 AC_DEFUN([GNOME_PTHREAD_CHECK],[
7 AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIB="-lpthread",
8 [AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIB="-lpthreads",
9 [AC_CHECK_LIB(c_r, pthread_create, PTHREAD_LIB="-lc_r",
10 [AC_CHECK_FUNC(pthread_create)]
15 AC_PROVIDE([GNOME_PTHREAD_CHECK])