Improve detection of inability to check free disk space.
Don't check if configure indicated checks won't work. This should fix a FTBFS on mipsel, where configure correctly detects the checks won't work, while garbage is returned for disk space info at git-annex runtime. It also means that, when built via cabal, disk space checks are not enabled, unfortunatly.
This commit is contained in:
parent
d228377722
commit
181d2ccd20
6 changed files with 44 additions and 14 deletions
2
Setup.hs
2
Setup.hs
|
@ -8,5 +8,5 @@ import qualified Build.Configure as Configure
|
|||
main = defaultMainWithHooks simpleUserHooks { preConf = configure }
|
||||
|
||||
configure _ _ = do
|
||||
Configure.run Configure.tests
|
||||
Configure.run $ Configure.tests True
|
||||
return (Nothing, [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue