mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 10:21:19 +00:00
Closes: https://bugs.gentoo.org/742242 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
19 lines
485 B
Diff
19 lines
485 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -4,14 +4,6 @@
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
AC_PROG_RANLIB
|
|
-AC_CHECK_LIB(ncurses, tgetnum,,
|
|
-[
|
|
- echo "The required library ncurses not found - aborting."
|
|
- exit
|
|
-],)
|
|
-AC_CHECK_LIB(readline, tputs,,
|
|
-[
|
|
- echo "The required library readline not found - aborting."
|
|
- exit
|
|
-],)
|
|
+AC_SEARCH_LIBS([tgetnum], [ncurses tinfo], , AC_MSG_ERROR([need ncurses]), [])
|
|
+AC_CHECK_LIB(readline, tputs, , AC_MSG_ERROR([need readline]), [])
|
|
AC_OUTPUT(Makefile)
|