dnl Configuration things for affyR.
dnl What is below (and in the other configuration fiels
dnl was taken from different configuration scripts for R version 1.3.0.
dnl Acknowledgments: The author(s) of the R configure scripts, Kurt Hornik for the tip with autoconf.
dnl Laurent 2001
dnl Are things (still) the same ?
dnl (taken from the 'writing R extensions manual')
AC_TRY_LINK_FUNC(pthread_create, [use_pthreads=yes], [use_pthreads=no])
AC_MSG_CHECKING([if we can use pthreads])
if test "x$use_pthreads" = "xyes"