logo       

Re: pkg/28925: msg#01442

os.netbsd.devel.pkgsrc.bugs

Subject: Re: pkg/28925

I'm an autoconf neophyte, I realized my earlier suggested patch wasn't too hot,
this one's better.

Dave

--- configure.in.orig Sun Jan 9 19:32:17 2005
+++ configure.in Wed Mar 30 22:06:02 2005
@@ -37,12 +37,11 @@

dnl Checks for libraries.
dnl
-AC_CHECK_LIB(util, fparseln)
+AC_CHECK_LIB(util, fparseln, ,
+ AC_MSG_ERROR([no util library was found to link against.]))
if test $opt_editcomplete = yes; then
- AC_CHECK_LIB(tinfo, tgetent, ,
- AC_CHECK_LIB(termcap, tgetent, ,
- AC_CHECK_LIB(curses, tgetent, ,
- AC_CHECK_LIB(ncurses, tgetent))))
+ AC_SEARCH_LIBS(tgetent, [termcap termlib curses ncurses tinfo], ,
+ AC_MSG_ERROR([no relevant curses library was found to link
against.]))
AC_SEARCH_LIBS(el_init, edit, have_libedit=yes, have_libedit=no)
fi
AC_LIBRARY_NET

Attachment: replyAll
Description: null

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

News | FAQ | advertise