On Tue, Feb 24, 2004 at 09:09:42PM -0500, Daniel Jacobowitz wrote: > Try this instead: > AC_CHECK_FUNC(wborder, [], > [AC_SEARCH_LIBS(wborder, [cur_colr], [], > [AC_MSG_WARN([...])])]) Very clever! I didn't know that AC_CHECK_FUNC was using $LIBS to link its test program... Attach is a new suggested patch. 2004-02-25 J. Brobecker * configure.in: Make sure that the wborder function is available. Otherwise, search for it in the cur_colr library. * configure: Regenerate. On HP/UX, configure outputs: checking for library containing initscr... -lHcurses checking for wborder... no checking for library containing wborder... -lcur_colr On Linux, configure says: checking for library containing initscr... -lncurses checking for wborder... yes In both cases, I verified that TUI was linked in. -- Joel