mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42948 Closes: https://github.com/gentoo/gentoo/pull/42948 Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
20 lines
417 B
Diff
20 lines
417 B
Diff
https://bugs.gentoo.org/690114
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -11,9 +11,14 @@
|
|
AC_PROG_CC
|
|
AM_PROG_LIBTOOL
|
|
AC_PROG_INSTALL
|
|
+PKG_PROG_PKG_CONFIG
|
|
|
|
dnl Checks for libraries.
|
|
-AC_CHECK_LIB(ncurses, initscr, ,curses)
|
|
+PKG_CHECK_MODULES(NCURSES, ncurses, [
|
|
+ LIBS="$LIBS $NCURSES_LIBS"
|
|
+ ],[
|
|
+ AC_MSG_ERROR([Cannot find ncurses lib])
|
|
+ ])
|
|
|
|
dnl Checks for header files.
|
|
AC_CHECK_HEADERS(signal.h)
|