This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 <brobecker@gnat.com> * 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
Attachment:
configure.in.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |