when pthread is found, don't abort if spin lock is not found but not reqested

Patch by Albin Tonnerre


SVN revision: 46940
This commit is contained in:
Vincent Torri 2010-03-07 12:04:46 +00:00
parent 6280a731fb
commit 9d1529b09d
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ fi
AC_MSG_CHECKING([whether to build POSIX threads spinlock code])
AC_MSG_RESULT([${_efl_have_pthread_spinlock}])
if test "$x{_efl_enable_pthread}" = "xyes" && test "x${_efl_have_pthread_spinlock}" = "xno"; then
if test "$x{_efl_enable_pthread}" = "xyes" && test "x${_efl_have_pthread_spinlock}" = "xno" && test "x$1" = "xyes" ; then
AC_MSG_ERROR([pthread support requested but spinlocks are not supported])
fi