Fix ENGINE_by_id() and dtls1_stop_timer() checks with non-system OpenSSL
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 May 2012 17:49:39 +0000 (10:49 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 May 2012 17:49:39 +0000 (10:49 -0700)
commit4571690e600e37b889f46cfc0735cd22a1eb57d9
treeda1d10c8681b1e179de8e05e688489165ba8307a
parentc62338082e8115b4abf47af3bd44615884cec023
Fix ENGINE_by_id() and dtls1_stop_timer() checks with non-system OpenSSL

If we use AC_CHECK_LIB(-lssl, ...) then it'll use the system libssl even
when configured with --with-openssl= to use something different. So switch
to using AC_LINK_IFELSE and use $OPENSSL_LIBS (which should be correct)
instead.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
configure.ac