summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2018-08-16 16:53:49 +0200
committerDavid Disseldorp <ddiss@suse.de>2018-08-16 16:53:49 +0200
commitb61a5f46da1283f4544f6ace3f19e64b1cfcc800 (patch)
tree4fa8d8126547636ee21249b376490701ffc9c61a /configure
parent0290c589836641ad7bb39a97e45dfcf3d8603f23 (diff)
downloadfio-b61a5f46da1283f4544f6ace3f19e64b1cfcc800.tar.gz
fio-b61a5f46da1283f4544f6ace3f19e64b1cfcc800.tar.bz2
engines/http: support openssl < 1.1.0
openssl versions prior to 1.1.0 do not use an opaque pointer for HMAC_CTX. Signed-off-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 97bc35e9..0637b105 100755
--- a/configure
+++ b/configure
@@ -1574,11 +1574,11 @@ if test "$http" != "yes" ; then
http="no"
fi
if test "$disable_http" != "yes" && $(pkg-config --exists libcurl openssl); then
- # http engine currently requires opaque HMAC_CTX present in openssl >= 1.1
if $(pkg-config --atleast-version=1.1.0 openssl); then
- LIBS="$(pkg-config --libs libcurl openssl) $LIBS"
- http="yes"
+ output_sym "CONFIG_HAVE_OPAQUE_HMAC_CTX"
fi
+ LIBS="$(pkg-config --libs libcurl openssl) $LIBS"
+ http="yes"
fi
print_config "http engine" "$http"