Currently htools cannot be compiled under sid because the parallel haskell library is version 3. Using it issues a few warning, but compiles and passes unit tests. Ship it?
Signed-off-by: Guido Trotter <[email protected]> --- configure.ac | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 8baf2c3..5beefdc 100644 --- a/configure.ac +++ b/configure.ac @@ -359,7 +359,11 @@ else AC_SUBST(GHC_PKG_CURL) AC_SUBST(HTOOLS_NOCURL) AC_MSG_CHECKING([parallel]) - GHC_PKG_PARALLEL=$($GHC_PKG --simple-output list 'parallel-2.*') + GHC_PKG_PARALLEL=$($GHC_PKG --simple-output list 'parallel-3.*') + if test -z "$GHC_PKG_PARALLEL" + then + GHC_PKG_PARALLEL=$($GHC_PKG --simple-output list 'parallel-2.*') + fi if test -z "$GHC_PKG_PARALLEL" then GHC_PKG_PARALLEL=$($GHC_PKG --simple-output list 'parallel-1.*') -- 1.7.2.5
