--- configure.orig 2011-06-30 08:13:36.000000000 -0700 +++ configure 2011-07-01 16:50:58.734235092 -0700 @@ -21600,7 +21600,7 @@ $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-liodbc $LIBS" +LIBS="-liodbc $LIBS $LTHREAD_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21648,7 +21648,7 @@ $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lodbc $LIBS" +LIBS="-lodbc $LIBS $LTHREAD_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21938,7 +21938,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main ()