From ceb50397cb1c4e78af290e6f1b72d55414474441 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 Mar 2014 14:37:01 -0400 Subject: warn when various build flags are unset --- BuildFlags.hs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'BuildFlags.hs') 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" -- cgit v1.2.3