hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

configure.ac: Use pkg-config to check for ncurses #931

Closed Polynomial-C closed 3 years ago

Polynomial-C commented 5 years ago

in order to correctly link against ncurses' tinfo lib if available separately.

Gentoo-bug: https://bugs.gentoo.org/690840 Signed-off-by: Lars Wendler polynomial-c@gentoo.org

marv commented 4 years ago

I can confirm that this works as expected on Exherbo and fixes cross-compiling (https://github.com/hishamhm/htop/issues/671)

marv commented 4 years ago

Can anyone shed some light on the situation on MacOS? I guess that's what's keeping this from getting accepted?

natoscott commented 4 years ago

@Polynomial-C @marv there is no pkg-config by default on Mac OS X. I see @hishamhm has created a "pkgconfig-on-linux" branch - could you review and see if this meets your needs here? Thanks.

[ see also https://github.com/hishamhm/htop/issues/992 as to why I'm contacting you - cheers. ]