libmono_cflags="-D_REENTRANT -D_THREAD_SAFE"
libdl=
dnl FIXME: Does eglib pick this up?
- LIBS="$LIBS -lnetwork -;textencoding"
+ LIBS="$LIBS -lnetwork -ltextencoding"
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
dnl Haiku does not support static TLS with __thread
AC_MSG_RESULT(no)
])
+ dnl **********************************
+ dnl *** Checks for proclib ***
+ dnl **********************************
+ AC_CHECK_HEADER(sys/errno.h, [AC_DEFINE(HAVE_SYS_ERRNO_H, 1, Define to 1 if you have the <sys/errno.h> header file.)])
dnl **********************************
dnl *** Checks for MonoPosixHelper ***
dnl **********************************
int
Mono_Posix_Syscall_mlock (void *start, mph_size_t len)
{
-/* FIXME: Haiku lacks support for m(un)lock and mincore */
-#if defined(__HAIKU__)
+#if !defined(HAVE_MINCORE)
return ENOSYS;
#else
mph_return_if_size_t_overflow (len);