From: caro Date: Sun, 7 Mar 2010 12:07:08 +0000 (+0000) Subject: when pthread is found, don't abort if spin lock is not found but not reqested X-Git-Tag: 2.0_alpha~194^2~1038 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d78fda032fdfa4b6cc13b23a617e71de021eb9ac;p=framework%2Fuifw%2Fecore.git when pthread is found, don't abort if spin lock is not found but not reqested Patch by Albin Tonnerre git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@46943 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/m4/efl_pthread.m4 b/m4/efl_pthread.m4 index e50964f..b7dd463 100644 --- a/m4/efl_pthread.m4 +++ b/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