check for ENGINE_load_builtin_engines() as well if engine is around

This commit is contained in:
Daniel Stenberg 2005-02-14 23:50:29 +00:00
Родитель 86295eef13
Коммит f169b750b8
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -838,8 +838,12 @@ dnl **********************************************************************
if test X"$OPENSSL_ENABLED" = X"1"; then
dnl If the ENGINE library seems to be around, check for the OpenSSL engine
dnl header, it is kind of "separated" from the main SSL check
AC_CHECK_FUNC(ENGINE_init, [ AC_CHECK_HEADERS(openssl/engine.h) ])
dnl stuff, it is kind of "separated" from the main SSL check
AC_CHECK_FUNC(ENGINE_init,
[
AC_CHECK_HEADERS(openssl/engine.h)
AC_CHECK_FUNCS( ENGINE_load_builtin_engines )
])
AC_MSG_CHECKING([CA cert bundle install path])