Fix the pthread and kernel32 library checks to not check for main. The checks fail...
[synfig.git] / ETL / trunk / m4 / ETL.m4
index 7c807dd..f64284e 100644 (file)
@@ -10,8 +10,8 @@ AC_DEFUN([ETL_DEPS],
        AC_C_BIGENDIAN
        
        AC_CHECK_LIB(user32, main)
-       AC_CHECK_LIB(kernel32, main)
-       AC_CHECK_LIB(pthread, main)
+       AC_CHECK_LIB([kernel32], [CreateMutex])
+       AC_CHECK_LIB([pthread], [pthread_mutex_init])
                
        AC_HEADER_STDC