From 314c7213acf416edeaa0c64623ad6e348233dbbe Mon Sep 17 00:00:00 2001 From: Duncan Coutts <duncan@haskell.org> Date: Fri, 9 May 2008 16:35:07 +0000 Subject: [PATCH] Display Cabal version in configure output with -v eg "Using Cabal-1.5.1 compiled by ghc-6.8" Annoyingly ghc doesn't give us its full version number. --- Distribution/Simple/Configure.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Distribution/Simple/Configure.hs b/Distribution/Simple/Configure.hs index 570b11dce0..a281457348 100644 --- a/Distribution/Simple/Configure.hs +++ b/Distribution/Simple/Configure.hs @@ -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 -- GitLab