AC_MSG_ERROR("You are trying to use threads without a POSIX <pthread.h>")
fi
+ dnl #
+ dnl # If pthread_create is in the standard libs (e.g. libc),
+ dnl # then don't do anything magical.
+ dnl #
+ AC_CHECK_FUNC(pthread_join, PTHREADLIB=" ")
+
dnl #
dnl # pthread stuff is usually in -lpthread
dnl #
fi
-ODBC_CHECKS
-
dnl #############################################################
dnl #
dnl # 8. Checks for system services