martanne / dvtm

dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.
MIT License
843 stars 108 forks source link

Use pkg-config to find curses libs if possible #130

Closed equwal closed 2 months ago

equwal commented 1 year ago

Find the libs for ncurses if the pkg-config command is available. Some view this as an opinionated change (since ncurses should fix it instead), but I think it is a good choice.

equwal commented 1 year ago

Would be nice to have a similar thing to guess whether to uses curses or ncursesw or whatever

equwal commented 1 year ago

Ok I managed it.

The users entry CURSESLIB is still preferred, however, LIBS is entriely ignored if pkg-config can do it (which should be fine).

equwal commented 2 months ago

looks like this is not needed