configure: the BSDs all supply the dlfcn funcs without -ldl

This commit is contained in:
Daniel Kolesa 2015-08-05 12:24:40 +01:00
parent 8b4fab0196
commit cfb1e05360
1 changed files with 3 additions and 0 deletions

View File

@ -343,6 +343,9 @@ dnl managed by evil
darwin*) darwin*)
have_dlopen="yes" have_dlopen="yes"
;; ;;
freebsd*|openbsd*|netbsd*|dragonfly*)
have_dlopen="yes"
;;
*) *)
AC_CHECK_LIB([dl], [dlopen], [res=yes], [res=no]) AC_CHECK_LIB([dl], [dlopen], [res=yes], [res=no])
if test "x$res" = "xyes"; then if test "x$res" = "xyes"; then