Revision: 2168
          http://synfig.svn.sourceforge.net/synfig/?rev=2168&view=rev
Author:   pabs3
Date:     2008-11-08 05:44:21 +0000 (Sat, 08 Nov 2008)

Log Message:
-----------
Fix the pthread and kernel32 library checks to not check for main. The checks 
fail on GCC 4.4 otherwise.

Modified Paths:
--------------
    ETL/trunk/m4/ETL.m4
    synfig-core/trunk/m4/ETL.m4
    synfig-studio/trunk/m4/ETL.m4

Modified: ETL/trunk/m4/ETL.m4
===================================================================
--- ETL/trunk/m4/ETL.m4 2008-11-07 18:11:26 UTC (rev 2167)
+++ ETL/trunk/m4/ETL.m4 2008-11-08 05:44:21 UTC (rev 2168)
@@ -10,8 +10,8 @@
        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
        

Modified: synfig-core/trunk/m4/ETL.m4
===================================================================
--- synfig-core/trunk/m4/ETL.m4 2008-11-07 18:11:26 UTC (rev 2167)
+++ synfig-core/trunk/m4/ETL.m4 2008-11-08 05:44:21 UTC (rev 2168)
@@ -10,8 +10,8 @@
        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
        

Modified: synfig-studio/trunk/m4/ETL.m4
===================================================================
--- synfig-studio/trunk/m4/ETL.m4       2008-11-07 18:11:26 UTC (rev 2167)
+++ synfig-studio/trunk/m4/ETL.m4       2008-11-08 05:44:21 UTC (rev 2168)
@@ -10,8 +10,8 @@
        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
        


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to