Ticket #553 (new enhancement)
wish: Have "setup configure" unconditionally pass options like --prefix to user-supplied configure script.
|Reported by:||guest||Owned by:|
|Cc:||Difficulty:||very easy (<1 hour)|
Cabal's "setup configure" can be made to run a user-supplied configure script. When so instructed, it passes command line options like --prefix along to that configure script. However, if no --prefix is given by the user, no --prefix option is passed along to the configure script either. This means that such a configure script cannot actually do anything with the prefix unless it is willing to make assumptions about what the default prefix is when none is specified. It would be better if Cabal passed the configure script a --prefix option (and maybe others) regardless of whether the user specified one, so that the script always has the real prefix available.