summaryrefslogtreecommitdiff
path: root/Remote/List.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-04-14 14:22:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-04-14 14:22:33 -0400
commit626697b459669d934da6339117f6f4abfce16f38 (patch)
tree00b7a7b2bdac27ea572501d8f3b04d612929c4a9 /Remote/List.hs
parent1ca41044e8fab2b2e859a482e2293582c04db81f (diff)
cabal file now autodetects whether S3 support is available.
Diffstat (limited to 'Remote/List.hs')
-rw-r--r--Remote/List.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Remote/List.hs b/Remote/List.hs
index 57dfa43eb..c09341fb5 100644
--- a/Remote/List.hs
+++ b/Remote/List.hs
@@ -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