Revert "why do we link libgetdns.so to dlopen?"

This reverts commit c0bd844403.
This commit is contained in:
Willem Toorop 2015-11-05 07:56:38 +09:00
parent c0bd844403
commit 8b96cd2f40
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,12 @@ AC_DEFUN([ACX_SSL_CHECKS], [
fi
AC_SUBST(HAVE_SSL)
AC_SUBST(RUNTIME_PATH)
# openssl engine functionality needs dlopen().
BAKLIBS="$LIBS"
AC_SEARCH_LIBS([dlopen], [dl])
if test "$LIBS" != "$BAKLIBS"; then
LIBSSL_LIBS="$LIBSSL_LIBS -ldl"
fi
fi
AC_CHECK_HEADERS([openssl/ssl.h],,, [AC_INCLUDES_DEFAULT])
AC_CHECK_HEADERS([openssl/err.h],,, [AC_INCLUDES_DEFAULT])