Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11213
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
+++ /dev/null
---- a/configure.ac
-+++ b/configure.ac
-@@ -46,6 +46,7 @@
- AC_PATH_PROG(MAKE, make, $FALSE)
- AC_PROG_INSTALL
-
-+PKG_PROG_PKG_CONFIG()
-
- dnl
- dnl Do all tests with c++ compiler.
-@@ -291,6 +292,7 @@
- if test "$FOUND" = "no"; then
- AC_MSG_ERROR([Couldn't find curses headers (ncurses.h or curses.h)])
- fi
-+ PKG_CHECK_MODULES(ncurses,ncurses,LIBS="$LIBS $ncurses_LIBS",)
- AC_SEARCH_LIBS([refresh], [ncurses curses],,
- AC_ERROR([Couldn't find curses library]))
- else