diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2013-04-22 19:01:09 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2013-04-23 01:20:01 +0400 |
commit | 437f07777fe0f8699d9bbbc8d8b3f916ad77bd7a (patch) | |
tree | 900b463a609d3d49ce67f884e11c00c1c2749943 /configure.in | |
parent | 9d79602cca3d4938756e579622b777e6d3c28082 (diff) |
Remove support for for pthread implementations that lack recursive mutexes.
* configure.in: Don't define USE_MONO_MUTEX. No sane posix system from this
millennium lacks recursive mutexes. Given that, let's just fail mono on them
and drop a bunch of dead code.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in index bf6390c95fc..d02b99e43fd 100644 --- a/configure.in +++ b/configure.in @@ -1549,8 +1549,7 @@ if test x$target_win32 = xno; then AC_MSG_RESULT(ok) ], [ AC_MSG_RESULT(no) - AC_MSG_WARN(Using mono_mutex_t for recursive mutexes) - AC_DEFINE(USE_MONO_MUTEX, 1, [Use mono_mutex_t]) + AC_ERROR(Posix system lacks support for recursive mutexes) ]) AC_CHECK_FUNCS(pthread_attr_setstacksize) AC_CHECK_FUNCS(pthread_attr_getstack pthread_attr_getstacksize) |