Removed iodbc configuration checks from the top-level 'configure'
[freeradius.git] / configure.in
index 43f9c6e..2bd8735 100644 (file)
@@ -334,6 +334,12 @@ if test "$WITH_THREADS" = "yes"; then
     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 # 
@@ -682,8 +688,6 @@ else
 fi
 
 
-ODBC_CHECKS
-
 dnl #############################################################
 dnl #
 dnl #  8. Checks for system services