summaryrefslogtreecommitdiff
path: root/BuildFlags.hs
blob: e1e5c1b884a3bcc7de39905e8eab426dea32570d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{- git-annex build flags reporting
 -
 - Copyright 2013 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

{-# LANGUAGE CPP #-}

module BuildFlags where

buildFlags :: [String]
buildFlags = filter (not . null)
	[ ""
#ifdef WITH_ASSISTANT
	, "Assistant"
#endif
#ifdef WITH_WEBAPP
	, "Webapp"
#endif
#ifdef WITH_PAIRING
	, "Pairing"
#endif
#ifdef WITH_TESTSUITE
	, "Testsuite"
#endif
#ifdef WITH_S3
	, "S3"
#endif
#ifdef WITH_WEBDAV
	, "WebDAV"
#endif
#ifdef WITH_INOTIFY
	, "Inotify"
#endif
#ifdef WITH_FSEVENTS
	, "FsEvents"
#endif
#ifdef WITH_KQUEUE
	, "Kqueue"
#endif
#ifdef WITH_DBUS
	, "DBus"
#endif
#ifdef WITH_XMPP
	, "XMPP"
#endif
#ifdef WITH_DNS
	, "DNS"
#endif
#ifdef WITH_FEED
	, "Feeds"
#endif
#ifdef WITH_QUVI
	, "Quvi"
#endif
	]