> Except that AC_SEARCH_LIBS is clever enough itself. It first tries to > find the function in the libraries already present. > > AC_SEARCH_LIBS (initscr, [ncurses ...]), [], [AC_MSG_WARN...]) > AC_SEARCH_LIBS (wborder, cur_clr, [], [AC_MSG_WARN...]) > > Should do exactly what you want. Thanks for the tip! I checked the following change in. 2004-02-25 J. Brobecker * configure.in: Refine the previous change. * configure: Regenerate. Tested on hpux and x86-linux. -- Joel