From b6b530016ff7dce384e976efbb8ddfbfbd79932b Mon Sep 17 00:00:00 2001 From: Vincent Torri 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. SVN revision: 48525 --- legacy/eet/m4/efl_pthread.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/eet/m4/efl_pthread.m4 b/legacy/eet/m4/efl_pthread.m4 index 8ff99793e6..acf1a34f6e 100644 --- a/legacy/eet/m4/efl_pthread.m4 +++ b/legacy/eet/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 ]],