diff --git a/configure.ac b/configure.ac index 28ecb7caeb..fb45ecf84b 100644 --- a/configure.ac +++ b/configure.ac @@ -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])