summaryrefslogtreecommitdiff
path: root/BuildFlags.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-07 14:37:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-07 14:40:12 -0400
commitceb50397cb1c4e78af290e6f1b72d55414474441 (patch)
tree1599e8cd79d0991eb4252ae1dc3a224c3e4924b2 /BuildFlags.hs
parent5be8b4ea03f959acb9921a82f8f0fef3b9fc21c4 (diff)
warn when various build flags are unset
Diffstat (limited to 'BuildFlags.hs')
-rw-r--r--BuildFlags.hs20
1 files changed, 20 insertions, 0 deletions
diff --git a/BuildFlags.hs b/BuildFlags.hs
index 1dba47eaf..e5d389d28 100644
--- a/BuildFlags.hs
+++ b/BuildFlags.hs
@@ -14,21 +14,33 @@ buildFlags = filter (not . null)
[ ""
#ifdef WITH_ASSISTANT
, "Assistant"
+#else
+#warning Building without the assistant.
#endif
#ifdef WITH_WEBAPP
, "Webapp"
+#else
+#warning Building without the webapp. You probably need to install Yesod..
#endif
#ifdef WITH_PAIRING
, "Pairing"
+#else
+#warning Building without local pairing.
#endif
#ifdef WITH_TESTSUITE
, "Testsuite"
+#else
+#warning Building without the testsuite.
#endif
#ifdef WITH_S3
, "S3"
+#else
+#warning Building without S3.
#endif
#ifdef WITH_WEBDAV
, "WebDAV"
+#else
+#warning Building without WebDAV.
#endif
#ifdef WITH_INOTIFY
, "Inotify"
@@ -44,21 +56,29 @@ buildFlags = filter (not . null)
#endif
#ifdef WITH_XMPP
, "XMPP"
+#else
+#warning Building without XMPP.
#endif
#ifdef WITH_DNS
, "DNS"
#endif
#ifdef WITH_FEED
, "Feeds"
+#else
+#warning Building without Feeds.
#endif
#ifdef WITH_QUVI
, "Quvi"
+#else
+#warning Building without quvi.
#endif
#ifdef WITH_TDFA
, "TDFA"
#endif
#ifdef WITH_CRYPTOHASH
, "CryptoHash"
+#else
+#warning Building without CryptoHash.
#endif
#ifdef WITH_EKG
, "EKG"