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

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

View File

@ -95,12 +95,6 @@ AC_DEFUN([ACX_SSL_CHECKS], [
fi fi
AC_SUBST(HAVE_SSL) AC_SUBST(HAVE_SSL)
AC_SUBST(RUNTIME_PATH) 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 fi
AC_CHECK_HEADERS([openssl/ssl.h],,, [AC_INCLUDES_DEFAULT]) AC_CHECK_HEADERS([openssl/ssl.h],,, [AC_INCLUDES_DEFAULT])
AC_CHECK_HEADERS([openssl/err.h],,, [AC_INCLUDES_DEFAULT]) AC_CHECK_HEADERS([openssl/err.h],,, [AC_INCLUDES_DEFAULT])