Fixes PR96 for freebsd.
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Thu, 18 Sep 2008 12:00:45 +0000 (14:00 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Thu, 18 Sep 2008 12:00:45 +0000 (14:00 +0200)
* m4/dl.m4: Added freebsd.

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