Skip to content

Commit

Permalink
Display Cabal version in configure output with -v
Browse files Browse the repository at this point in the history
eg "Using Cabal-1.5.1 compiled by ghc-6.8"
Annoyingly ghc doesn't give us its full version number.
  • Loading branch information
dcoutts committed May 9, 2008
1 parent 809f085 commit 314c721
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Distribution/Simple/Configure.hs
Expand Up @@ -432,6 +432,8 @@ configure (pkg_descr0, pbi) cfg
unless (isAbsolute (prefix dirs)) $ die $
"expected an absolute directory name for --prefix: " ++ prefix dirs

info verbosity $ "Using " ++ display currentCabalId
++ " compiled by " ++ display currentCompilerId
info verbosity $ "Using compiler: " ++ showCompilerId comp
info verbosity $ "Using install prefix: " ++ prefix dirs

Expand Down

0 comments on commit 314c721

Please sign in to comment.