From 66df28b48bff970c5e788fe1c1a417f433d4bba3 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sun, 7 Mar 2010 12:06:32 +0000 Subject: [PATCH] when pthread is found, don't abort if spin lock is not found but not reqested Patch by Albin Tonnerre SVN revision: 46942 --- legacy/evas/m4/efl_pthread.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/evas/m4/efl_pthread.m4 b/legacy/evas/m4/efl_pthread.m4 index e50964fa83..b7dd4637ed 100644 --- a/legacy/evas/m4/efl_pthread.m4 +++ b/legacy/evas/m4/efl_pthread.m4 @@ -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