From bbb57a6b3a31c22a5a24fa4b92abbe13a6736ad8 Mon Sep 17 00:00:00 2001 From: PHO Date: Mon, 23 Feb 2015 03:40:05 -0600 Subject: 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 --- mk/config.mk.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mk') diff --git a/mk/config.mk.in b/mk/config.mk.in index dfe8c2b445..b32f227f08 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -805,3 +805,6 @@ ICONV_LIB_DIRS = @ICONV_LIB_DIRS@ GMP_INCLUDE_DIRS = @GMP_INCLUDE_DIRS@ GMP_LIB_DIRS = @GMP_LIB_DIRS@ + +CURSES_INCLUDE_DIRS = @CURSES_INCLUDE_DIRS@ +CURSES_LIB_DIRS = @CURSES_LIB_DIRS@ -- cgit v1.2.1