, <pkgsrc-bugs@netbsd.org>
From: David H.Gutteridge <dhgutteridge@sympatico.ca>
List: pkgsrc-bugs
Date: 03/30/2005 22:23:37
This is a multi-part message in MIME format.
------=____1112239417098_R=f)dyQpXZ
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
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
------=____1112239417098_R=f)dyQpXZ
Content-Transfer-Encoding: base64
Content-Type: null;
name="replyAll"
Content-Disposition: inline;
filename="replyAll"
U3lub3BzaXM6IHRuZnRwJ3MgY29uZmlndXJlIHNjcmlwdCBkb2Vzbid0IHdhcm4gaWYgaXQg
Y2FuJ3QgZmluZCBuY3Vyc2VzL3Rlcm1jYXAvZXRjLiB0byBsaW5rIGFnYWluc3QNCg0KUmVz
cG9uc2libGUtQ2hhbmdlZC1Gcm9tLVRvOiBwa2ctbWFuYWdlci0+bHVrZW0NClJlc3BvbnNp
YmxlLUNoYW5nZWQtQnk6IHdpekBuZXRic2Qub3JnDQpSZXNwb25zaWJsZS1DaGFuZ2VkLVdo
ZW46IFR1ZSwgMTUgTWFyIDIwMDUgMTc6NDE6NTcgKzAwMDANClJlc3BvbnNpYmxlLUNoYW5n
ZWQtV2h5Og0KT3ZlciB0byBtYWludGFpbmVyLg0KDQoNCg==
------=____1112239417098_R=f)dyQpXZ--