aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-openssl.m4
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-09-28 23:09:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-09-28 23:09:46 +0200
commit421a46027821119e2ab76d28016b9763b13848d2 (patch)
treecfad44a4b6779c0315868c76b54328a68ed68b07 /m4/curl-openssl.m4
parent5793bc370c794a10e6ed014cb535a47672842ae6 (diff)
configure openssl version check: handle lack of L suffix
It seems some versions of the OpenSSL version defines don't come with L appended to the number, so let's deal with that nicely.
Diffstat (limited to 'm4/curl-openssl.m4')
-rw-r--r--m4/curl-openssl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4
index 9adc80fd5..cd9074b02 100644
--- a/m4/curl-openssl.m4
+++ b/m4/curl-openssl.m4
@@ -55,7 +55,7 @@ AC_DEFUN([CURL_CHECK_OPENSSL_API_HEADERS], [
tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
tst_api=0x$tst_vermaj$tst_vermin$tst_verfix
;;
- x11)
+ x11|x10)
tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 7`