aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-06-14 20:22:33 -0700
committerJade Lovelace <lix@jade.fyi>2024-06-18 15:11:49 -0700
commit02ca60809d511b280336344cb9420b7df2d57e6c (patch)
treeb9aab25d70237d42053626cbbccd56a16915b233 /meson.build
parent3626738b9b801b2922b668ede7f7b83330d99018 (diff)
s3: delete obsolete ifdefs
The versions checked for are so old that we can just drop support. Change-Id: Ib9cf136d1cb9a4a91a6613102c4fd15e1190363b
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/meson.build b/meson.build
index 5a772888d..672db4ddf 100644
--- a/meson.build
+++ b/meson.build
@@ -223,7 +223,8 @@ brotli = [
openssl = dependency('libcrypto', 'openssl', required : true)
-aws_sdk = dependency('aws-cpp-sdk-core', required : false)
+# FIXME: confirm we actually support such old versions of aws-sdk-cpp
+aws_sdk = dependency('aws-cpp-sdk-core', required : false, version : '>=1.8')
aws_sdk_transfer = dependency('aws-cpp-sdk-transfer', required : aws_sdk.found(), fallback : ['aws_sdk', 'aws_cpp_sdk_transfer_dep'])
if aws_sdk.found()
# The AWS pkg-config adds -std=c++11.
@@ -235,12 +236,6 @@ if aws_sdk.found()
links : true,
sources : true,
)
- s = aws_sdk.version().split('.')
- configdata += {
- 'AWS_VERSION_MAJOR': s[0].to_int(),
- 'AWS_VERSION_MINOR': s[1].to_int(),
- 'AWS_VERSION_PATCH': s[2].to_int(),
- }
aws_sdk_transfer = aws_sdk_transfer.partial_dependency(
compile_args : false,
includes : true,