Ticket #553 (new enhancement)

Opened 4 years ago

Last modified 18 months ago

wish: Have "setup configure" unconditionally pass options like --prefix to user-supplied configure script.

Reported by: guest Owned by:
Priority: normal Milestone: Cabal-1.8
Component: Cabal library Version: 1.6.0.1
Severity: normal Keywords:
Cc: Difficulty: very easy (<1 hour)
GHC Version: Platform:

Description

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.

Change History

Changed 4 years ago by duncan

  • difficulty changed from unknown to very easy (<1 hour)
  • milestone set to Cabal-1.8

See also #458 about passing include and library dir flags or env vars to ./configure scripts.

Changed 18 months ago by elga

Changed 18 months ago by edouard

D'autre part, la palette d'informations detaillees relatives a l'obtention du code rio Simyo et du numero rio Virgin Mobile sont egalement disponibles.  rio bouygues

Note: See TracTickets for help on using tickets.