Allow building with S3 disabled again.

This commit is contained in:
Joey Hess 2015-10-02 12:12:02 -04:00
parent aaed12f503
commit 16d7035ef7
3 changed files with 5 additions and 0 deletions

View file

@ -76,8 +76,10 @@ s3InputAForm defcreds = AWSInput
storageclasses :: [(Text, StorageClass)]
storageclasses =
[ ("Standard redundancy", StandardRedundancy)
#ifdef WITH_S3
#if MIN_VERSION_aws(0,13,0)
, ("Infrequent access (cheaper for backups and archives)", StandardInfrequentAccess)
#endif
#endif
, ("Reduced redundancy (costs less)", ReducedRedundancy)
]