Check pkg-config for ncurses before manually looking for it.

Review Request #729 — Created June 7, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y
3a7b975d24f6

Reviewers

This patch originated from https://bugs.gentoo.org/461482 but is being applied
by Gary Kramlich <grim@reaperworld.com>

Configured only, worked fine on debian unstable.