rescue old Cabal which does not support bench.

This commit is contained in:
Kazu Yamamoto 2014-04-26 09:22:42 +09:00
parent e8290c2f4b
commit 66a5123f8c

View File

@ -143,7 +143,11 @@ cabalAllBuildInfo pd = libBI ++ execBI ++ testBI ++ benchBI
libBI = map P.libBuildInfo $ maybeToList $ P.library pd
execBI = map P.buildInfo $ P.executables pd
testBI = map P.testBuildInfo $ P.testSuites pd
#if __GLASGOW_HASKELL__ >= 704
benchBI = map P.benchmarkBuildInfo $ P.benchmarks pd
#else
benchBI = []
#endif
----------------------------------------------------------------