Skip to content
Snippets Groups Projects
Commit 4bdecf35 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Fixup breakage from previous changes

parent 3fa7b054
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,9 @@ configureAction :: ConfigFlags -> [String] -> IO ()
configureAction flags args = do
no_extra_flags args
let verbosity = fromFlag (configVerbose flags)
rawSystemExit verbosity "./configure" (configureArgs flags)
rawSystemExit verbosity "./configure"
(configureArgs backwardsCompatHack flags)
where backwardsCompatHack = True
copyAction :: CopyFlags -> [String] -> IO ()
copyAction flags args = do
......
......@@ -110,8 +110,8 @@ setupWrapper args mdir = inDir mdir $ do
buildTypes :: [(BuildType, ([String] -> IO (), String))]
buildTypes = [
(Simple, (defaultMainArgs, "import Distribution.Simple; main=defaultMain")),
(Configure, (defaultMainWithHooksArgs defaultUserHooks,
"import Distribution.Simple; main=defaultMainWithHooks defaultUserHooks")),
(Configure, (defaultMainWithHooksArgs autoconfUserHooks,
"import Distribution.Simple; main=defaultMainWithHooks autoconfUserHooks")),
(Make, (Make.defaultMainArgs, "import Distribution.Make; main=defaultMain"))]
inDir :: Maybe FilePath -> IO () -> IO ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment