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.
gentoo-overlay/dev-db/gqlplus/files/gqlplus-1.16-ncurses-tinfo....

20 lines
485 B

--- 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)