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)])