]> granicus.if.org Git - curl/commitdiff
check for ENGINE_load_builtin_engines() as well if engine is around
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Feb 2005 23:50:29 +0000 (23:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Feb 2005 23:50:29 +0000 (23:50 +0000)
configure.ac

index 28ecb7caeb6de1e34a35846cee38f36458950dcb..fb45ecf84b164fe15a99afd209dee13542a1d02f 100644 (file)
@@ -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])