sabotage-linux / netbsd-curses

libcurses and dependencies taken from netbsd and brought into a portable shape (at least to musl or glibc)
Other
152 stars 15 forks source link

merge libcurses and libterminfo? #43

Open staalmannen opened 3 years ago

staalmannen commented 3 years ago

Is there a point to keep them separate? If they were merged a lot of things would build without manual intervention.

rofl0r commented 3 years ago

it would be a non-issue if build-systems just used pkg-config --libs curses.

but maybe it could improve things to indeed merge the 2, albeit optionally. can you propose a PR that uses a make switch that defaults to build libterminfo separately, like make USE_TERMINFO=0 ?

staalmannen commented 3 years ago

The pull request optionally merges terminfo objects into libcurses with the make option MERGE_TERMINFO=1