Fix the pthread and kernel32 library checks to not check for main. The checks fail...
authorpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Nov 2008 05:44:21 +0000 (05:44 +0000)
committerpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Nov 2008 05:44:21 +0000 (05:44 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2168 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/m4/ETL.m4
synfig-core/trunk/m4/ETL.m4
synfig-studio/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
        
index 4cbd609..d79a7a8 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
        
index 4cbd609..d79a7a8 100755 (executable)
@@ -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