From: pabs3 Date: Sat, 8 Nov 2008 05:44:21 +0000 (+0000) Subject: Fix the pthread and kernel32 library checks to not check for main. The checks fail... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cecfd621a3d1b4df6460a78cbb20f9f9495ee4a3;p=synfig.git Fix the pthread and kernel32 library checks to not check for main. The checks fail on GCC 4.4 otherwise. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2168 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/ETL/trunk/m4/ETL.m4 b/ETL/trunk/m4/ETL.m4 index 7c807dd..f64284e 100644 --- a/ETL/trunk/m4/ETL.m4 +++ b/ETL/trunk/m4/ETL.m4 @@ -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 diff --git a/synfig-core/trunk/m4/ETL.m4 b/synfig-core/trunk/m4/ETL.m4 index 4cbd609..d79a7a8 100644 --- a/synfig-core/trunk/m4/ETL.m4 +++ b/synfig-core/trunk/m4/ETL.m4 @@ -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 diff --git a/synfig-studio/trunk/m4/ETL.m4 b/synfig-studio/trunk/m4/ETL.m4 index 4cbd609..d79a7a8 100755 --- a/synfig-studio/trunk/m4/ETL.m4 +++ b/synfig-studio/trunk/m4/ETL.m4 @@ -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