cabal file now autodetects whether S3 support is available.
This commit is contained in:
parent
1ca41044e8
commit
626697b459
5 changed files with 16 additions and 3 deletions
|
@ -18,7 +18,9 @@ import Config
|
|||
import Remote.Helper.Hooks
|
||||
|
||||
import qualified Remote.Git
|
||||
#ifdef WITH_S3
|
||||
import qualified Remote.S3
|
||||
#endif
|
||||
import qualified Remote.Bup
|
||||
import qualified Remote.Directory
|
||||
import qualified Remote.Rsync
|
||||
|
@ -28,7 +30,9 @@ import qualified Remote.Hook
|
|||
remoteTypes :: [RemoteType]
|
||||
remoteTypes =
|
||||
[ Remote.Git.remote
|
||||
#ifdef WITH_S3
|
||||
, Remote.S3.remote
|
||||
#endif
|
||||
, Remote.Bup.remote
|
||||
, Remote.Directory.remote
|
||||
, Remote.Rsync.remote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue