[Hackage] #553: wish: Have "setup configure" unconditionally pass options like --prefix to user-supplied configure script.

Hackage trac at galois.com
Mon May 18 15:12:16 EDT 2009


#553: wish: Have "setup configure" unconditionally pass options like --prefix to
user-supplied configure script.
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/553>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list