deadpixi / mtm

Perhaps the smallest useful terminal multiplexer in the world.
1.1k stars 51 forks source link

Use pkg-config to find curseslibs if possible #63

Closed equwal closed 2 years ago

equwal commented 2 years 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 2 years ago

See my dvtm pull for discussion https://github.com/martanne/dvtm/pull/130 (it is virtually the same)

equwal commented 2 years ago

For this project I think it is best to introduce a config.mk file, so this complex makefile garbage can be safely ignored by the user. I'll do it in a separate pull...

equwal commented 2 years ago

see #64