You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
475 B
21 lines
475 B
https://bugs.gentoo.org/690114
|
|
|
|
--- robotfindskitten-2.7182818.701/configure.in
|
|
+++ robotfindskitten-2.7182818.701/configure.in
|
|
@@ -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)
|