pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Home | Main Index | Thread Index | Old Index