AC_MSG_CHECKING("LinuxThreads")
- res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
- if test "$res" -gt 0
-+ if test -f /lib/libpthread.so.0
++ if grep -qs pthread_create /usr/include/pthread.h
then
AC_MSG_RESULT("Found")
AC_DEFINE(HAVE_LINUXTHREADS)