summaryrefslogtreecommitdiff
path: root/m4/curl-openssl.m4
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2016-04-07 11:41:57 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2016-04-07 13:29:05 +0900
commit8a08705db260779441360e959b97b6c172f8acb0 (patch)
treee5cfc1f4bc28cd81e93a96f9707a0efb143d278a /m4/curl-openssl.m4
parentf7bbc1c9b6a8e2c815d09612b53f453c90d962e0 (diff)
downloadcurl-8a08705db260779441360e959b97b6c172f8acb0.tar.gz
curl-8a08705db260779441360e959b97b6c172f8acb0.tar.bz2
curl-8a08705db260779441360e959b97b6c172f8acb0.zip
Imported Upstream version 7.44.0
Change-Id: I04e7fac0b620653ff8c174e87039756e98c4fb02
Diffstat (limited to 'm4/curl-openssl.m4')
-rw-r--r--m4/curl-openssl.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4
index cd9074b02..5f5f87ae8 100644
--- a/m4/curl-openssl.m4
+++ b/m4/curl-openssl.m4
@@ -67,6 +67,7 @@ AC_DEFUN([CURL_CHECK_OPENSSL_API_HEADERS], [
esac
case $tst_api in
0x110) tst_show="1.1.0" ;;
+ 0x102) tst_show="1.0.2" ;;
0x101) tst_show="1.0.1" ;;
0x100) tst_show="1.0.0" ;;
0x099) tst_show="0.9.9" ;;
@@ -140,6 +141,13 @@ AC_DEFUN([CURL_CHECK_OPENSSL_API_LIBRARY], [
fi
if test "$tst_api" = "unknown"; then
AC_LINK_IFELSE([
+ AC_LANG_FUNC_LINK_TRY([SSL_CONF_CTX_new])
+ ],[
+ tst_api="0x102"
+ ])
+ fi
+ if test "$tst_api" = "unknown"; then
+ AC_LINK_IFELSE([
AC_LANG_FUNC_LINK_TRY([SSL_renegotiate_abbreviated])
],[
tst_api="0x101"
@@ -210,6 +218,7 @@ AC_DEFUN([CURL_CHECK_OPENSSL_API_LIBRARY], [
fi
case $tst_api in
0x110) tst_show="1.1.0" ;;
+ 0x102) tst_show="1.0.2" ;;
0x101) tst_show="1.0.1" ;;
0x100) tst_show="1.0.0" ;;
0x099) tst_show="0.9.9" ;;