Save timestamps of add-source dependencies in 'sandbox add-source'.
80-col violations.
Refactor 'prepareTree'.

Factor out the parts that are used to list all source files mentioned in a
package description.
Move timestamp functions to their own module.
80-col violations.
Make 'inDir' a bit more polymorphic.

The change doesn't affect existing code.
Actually implement the timestamp check in 'reinstallAddSourceDeps'.
Replace a conditional with a guard.
Use maybeToList.
Comment.
Merge pull request #1292 from 23Skidoo/minimal-rebuilds

Minimal rebuilds for add-source dependencies
Comment.
When GHC is dynamic, only build dynamic /libraries/ by default

We don't want to defult to building executables the dynamic way too.
Merge branch 'master' of github.com:haskell/cabal
Add a way for the caller to tell whether the deps were reinstalled.
Reinstall add-source deps in reconfigure.

Allows us to reconfigure on reinstall and pass compiler & platform to
'reinstallAddSourceDeps'.
Move 'D.C.{PackageEnvironment, Index}' under 'D.C.Sandbox'.

They're only used by the sandbox code ATM.
Warn if a file's modification time is in the future.
Rename 'AreDepsReinstalled' to 'WereDepsReinstalled'.
Make it impossible to override 'package-db' in 'cabal.config'.