[v9_9] suppress dlopen on sunos 4

(cherry picked from commit 6f6b1abb10)
This commit is contained in:
Evan Hunt
2012-10-29 15:57:31 -07:00
parent de65593c03
commit b55657ca05

View File

@@ -3356,6 +3356,11 @@ AC_ARG_WITH(dlopen,
[ --with-dlopen=ARG Support dynamically loadable DLZ drivers],
dlopen="$withval", dlopen="yes")
case $host in
*-sunos*) dlopen="no"
;;
esac
if test "$dlopen" = "yes"; then
AC_CHECK_LIB(dl, dlopen, have_dl=yes, have_dl=no)
if test "$have_dl" = "yes"; then