diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2010-03-07 12:05:49 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2010-03-07 12:05:49 +0000 |
commit | 3e264064a32f4fe67ae38b0531c514244d80abcb (patch) | |
tree | 9add19a7046befb791eba496f860f5aaa81d74ea /m4 | |
parent | c730c8d93746a995348692c6d768a62a5e6f6dea (diff) | |
download | eet-3e264064a32f4fe67ae38b0531c514244d80abcb.tar.gz |
when pthread is found, don't abort if spin lock is not found but not reqested
Patch by Albin Tonnerre
SVN revision: 46941
Diffstat (limited to 'm4')
-rw-r--r-- | m4/efl_pthread.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |