Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • PHO's avatar
    d9e24f4e
    Make top-level "configure" accept and propagate --with-curses-{includes,libraries} to libraries · d9e24f4e
    PHO authored and thoughtpolice's avatar thoughtpolice committed
    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
    
    (cherry picked from commit bbb57a6b)
    d9e24f4e
    History
    Make top-level "configure" accept and propagate --with-curses-{includes,libraries} to libraries
    PHO authored and thoughtpolice's avatar thoughtpolice committed
    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
    
    (cherry picked from commit bbb57a6b)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.