From: caro Date: Sat, 1 May 2010 20:38:10 +0000 (+0000) Subject: Some libc have a pthread that declares spinlock functions, X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~338 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39507b53b4c8dea8c9077cb85fa77d085fdd1465;p=profile%2Fivi%2Feet.git 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: http://svn.enlightenment.org/svn/e/trunk/eet@48525 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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 ]],