remove 3 build flags

* Removed the webapp-secure build flag, rolling it into the webapp build
  flag.
* Removed the quvi and tahoe build flags, which only adds aeson to
  the core dependencies.
* Removed the feed build flag, which only adds feed to the core
  dependencies.

Build flags have cost in both code complexity and also make Setup configure
have to work harder to find a usable set of build flags when some
dependencies are missing.
This commit is contained in:
Joey Hess 2016-01-26 08:14:57 -04:00
parent 36e05945b8
commit f051b51645
Failed to extract signature
11 changed files with 27 additions and 130 deletions

View file

@ -22,9 +22,6 @@ buildFlags = filter (not . null)
#else
#warning Building without the webapp. You probably need to install Yesod..
#endif
#ifdef WITH_WEBAPP_SECURE
, "Webapp-secure"
#endif
#ifdef WITH_PAIRING
, "Pairing"
#else
@ -79,16 +76,6 @@ buildFlags = filter (not . null)
#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
@ -98,4 +85,8 @@ buildFlags = filter (not . null)
#ifdef WITH_EKG
, "EKG"
#endif
-- Always enabled now, but users may be used to seeing these flags
-- listed.
, "Feeds"
, "Quvi"
]