Commit f169b750 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

check for ENGINE_load_builtin_engines() as well if engine is around

parent 86295eef
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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])