From b94f3fd49f0f855840a757c35aa7bd604bb90acc Mon Sep 17 00:00:00 2001 From: caro Date: Sat, 1 May 2010 20:38:10 +0000 Subject: [PATCH] Some libc have a pthread that declares spinlock functions, but does not define them. So the check now links the test code. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@48525 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- m4/efl_pthread.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/efl_pthread.m4 b/m4/efl_pthread.m4 index 8ff9979..acf1a34 100644 --- a/m4/efl_pthread.m4 +++ b/m4/efl_pthread.m4 @@ -83,7 +83,7 @@ _efl_have_pthread_spinlock="no" if test "x${_efl_have_pthread}" = "xyes" && test "x$1" = "xyes" ; then - AC_COMPILE_IFELSE( + AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ #include ]], -- 2.7.4