1 import Test
.Cabal
.Prelude
2 import Control
.Monad
.IO.Class
4 import System
.Directory
5 -- Test for 'build-type: Configure' example from the setup manual.
7 hasAutoreconf
<- liftIO
$ fmap isJust $ findExecutable
"autoreconf"
8 skipUnless
"no autoreconf" hasAutoreconf
9 _
<- shell
"autoreconf" ["-i"]