* src/threads/thread.cpp: Use a finalizer to remove dead threads.
[cacao.git] / m4 / dl.m4
index 039e8993fec69baf2d4d61e822b492158aa5944b..5b05b1d63564f99263700114be0293be8fc030c6 100644 (file)
--- a/m4/dl.m4
+++ b/m4/dl.m4
@@ -38,8 +38,8 @@ if test x"${ENABLE_DL}" = "xyes"; then
     AC_CHECK_HEADERS([dlfcn.h],, [AC_MSG_ERROR(cannot find dlfcn.h)])
 
     case "${OS_DIR}" in
-        netbsd )
-            dnl There is no libdl on NetBSD (see PR96).
+        freebsd | netbsd )
+            dnl There is no libdl on FreeBSD, and NetBSD (see PR96).
             ;;
         *)
             AC_CHECK_LIB([dl], [dlopen],, [AC_MSG_ERROR(cannot find libdl)])