aboutsummaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-27 02:39:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-27 02:39:22 -0400
commita06989c1aeaf6463e554131993c5cb395d3f08bd (patch)
treea180b379cce80e8d4fa94cd4a15b5052316fddec /Utility/Yesod.hs
parent8ba6b0d9bc54656eb0d8d45adf94561f6350e792 (diff)
Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags.
The only thing lost is ./ghci Speed: make fast used to take 20 seconds here, when rebuilding from touching Command/Unused.hs. With cabal, it's 29 seconds.
Diffstat (limited to 'Utility/Yesod.hs')
-rw-r--r--Utility/Yesod.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utility/Yesod.hs b/Utility/Yesod.hs
index b6748f240..93000587c 100644
--- a/Utility/Yesod.hs
+++ b/Utility/Yesod.hs
@@ -7,6 +7,12 @@
{-# LANGUAGE CPP #-}
+#if defined VERSION_yesod_default
+#if ! MIN_VERSION_yesod_default(1,1,0)
+#define WITH_OLD_YESOD
+#endif
+#endif
+
module Utility.Yesod where
import Yesod.Default.Util