forked from enlightenment/efl
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
This commit is contained in:
parent
240395f366
commit
b6b530016f
|
@ -83,7 +83,7 @@ _efl_have_pthread_spinlock="no"
|
||||||
|
|
||||||
if test "x${_efl_have_pthread}" = "xyes" && test "x$1" = "xyes" ; then
|
if test "x${_efl_have_pthread}" = "xyes" && test "x$1" = "xyes" ; then
|
||||||
|
|
||||||
AC_COMPILE_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_PROGRAM([[
|
[AC_LANG_PROGRAM([[
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
]],
|
]],
|
||||||
|
|
Loading…
Reference in New Issue