logo       

Re: pkg/28926: msg#01440

os.netbsd.devel.pkgsrc.bugs

Subject: Re: pkg/28926

I'm new to autoconf, my suggested patch before wasn't so hot, this one's better.

Dave

--- configure.ac.orig Sun Jan 9 20:18:28 2005
+++ configure.ac Wed Mar 30 22:02:46 2005
@@ -68,8 +68,10 @@
AC_SUBST(mtree)

dnl Checks for libraries.
-AC_CHECK_LIB(db1, dbopen)
-AC_SEARCH_LIBS(tgetent, [termcap termlib curses ncurses])
+AC_CHECK_LIB(db1, dbopen, ,
+ AC_MSG_ERROR([no db1 library was found to link against.]))
+AC_SEARCH_LIBS(tgetent, [termcap termlib curses ncurses tinfo], ,
+ AC_MSG_ERROR([no relevant curses library was found to link against.]))

dnl Checks for header files.
AC_HEADER_STDC

Attachment: replyAll
Description: null

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise