[GHC] #10096: Top-level ./configure should accept and propagate --with-curses-{includes, libraries} to libraries

GHC ghc-devs at haskell.org
Mon Feb 23 09:40:16 UTC 2015


#10096: Top-level ./configure should accept and propagate --with-
curses-{includes,libraries} to libraries
-------------------------------------+-------------------------------------
        Reporter:  PHO               |                   Owner:
            Type:  feature request   |                  Status:  patch
        Priority:  normal            |               Milestone:
       Component:  Build System      |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #7472             |                Blocking:
                                     |  Differential Revisions:  Phab:D665
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"bbb57a6b3a31c22a5a24fa4b92abbe13a6736ad8/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="bbb57a6b3a31c22a5a24fa4b92abbe13a6736ad8"
 Make top-level "configure" accept and propagate --with-
 curses-{includes,libraries} to libraries

 Summary:
 If curses is installed into some non-standard path, we currently have
 to say something like the following in mk/build.mk:

   libraries/terminfo_CONFIGURE_OPTS += \
       --configure-option=--with-curses-includes=/somewhere/include \
       --configure-option=--with-curses-libraries=/somewhere/lib

 This is because the top-level configure does not accept nor propagate
 --with-curses-{includes,libraries} to libraries while it does so for
 iconv, gmp and libffi. It would be nice if curses were handled in the
 same manner.

 Test Plan: Install curses into some non-standard path. Then run the top-
 level "configure" script with options "--with-curses-
 includes=/path/to/curses/include" and "--with-curses-
 libraries=/path/to/curses/lib".

 Reviewers: austin

 Reviewed By: austin

 Subscribers: thomie, PHO

 Differential Revision: https://phabricator.haskell.org/D665

 GHC Trac Issues: #10096
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10096#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list