summaryrefslogtreecommitdiff
path: root/BuildFlags.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-18 14:22:43 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-18 14:26:10 -0400
commitac2a9bb2705bac6eb094bbe33aa748ce31ca64d0 (patch)
tree56025a4428e80b1cbfff1b7dca0b5bc764b07031 /BuildFlags.hs
parent1ee12c6c3cd3e0d9228eaf302621a2551e9a7194 (diff)
When possible, build with the haskell torrent library for parsing torrent files.
Diffstat (limited to 'BuildFlags.hs')
-rw-r--r--BuildFlags.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/BuildFlags.hs b/BuildFlags.hs
index 59a060cb5..f7c53a9aa 100644
--- a/BuildFlags.hs
+++ b/BuildFlags.hs
@@ -86,6 +86,11 @@ buildFlags = filter (not . null)
#else
#warning Building without CryptoHash.
#endif
+#ifdef WITH_TORRENTParser
+ , "TorrentParser"
+#else
+#warning Building without haskell torrent library; will instead use btshowmetainfo to parse torrent files.
+#endif
#ifdef WITH_EKG
, "EKG"
#endif