judah / terminfo

Haskell bindings to the terminfo API.
BSD 3-Clause "New" or "Revised" License
10 stars 10 forks source link

Look in ncurses/ for ncurses headers #21

Closed bgamari closed 7 years ago

bgamari commented 7 years ago

DragonflyBSD installs ncurses.h as /usr/local/include/ncurses.h. Moreover, ncurses.h refers to ncurses/ncurses_dll.h. Consequently, it is necessary to compile with --with-curses-includes=/usr/local/include and teach configure to look for ncurses.h in ncurses/

This appears to be what the AX_WITH_CURSES recipe does (https://www.gnu.org/software/autoconf-archive/ax_with_curses.html).

judah commented 7 years ago

After taking another look at that code, I realized we don't actually use (n)curses.h anywhere when building this package. I've created #22 to remove this logic altogether; let me know how that looks to you.

bgamari commented 7 years ago

Note that we will still need to adjust the path to term.h as appropriate.

bgamari commented 7 years ago

Ahh, never mind. I see now that you remove all the include logic.

judah commented 7 years ago

Closing in favor of #22.