summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-05-01 20:38:10 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-05-01 20:38:10 +0000
commit0efa5787d5a66822e1fe9065d0ab4f18678397b9 (patch)
tree5b1aec19db141bd16d151182adea5c5e3b25f6dc /m4
parent80d844be6dbbc2504bb7224bfdc4b9de61f2aea2 (diff)
downloadeet-0efa5787d5a66822e1fe9065d0ab4f18678397b9.tar.gz
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
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_pthread.m42
1 files changed, 1 insertions, 1 deletions
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 <pthread.h>
]],