Skip to content
Snippets Groups Projects
Commit 421a4602 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 5793bc37
No related branches found
No related tags found
No related merge requests found
......@@ -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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment