We do not want all libraries to be listed in a single list,
because not every frontend need all the libraries.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[AC_SUBST([CURSES_LOC])
AC_SUBST([ncurses_LIBS])
LIBS_old="$LIBS"
+ LIBS=
AC_CHECK_HEADERS(
[ncurses/ncurses.h ncurses/curses.h ncursesw/curses.h ncurses.h curses.h],
[CURSES_LOC=$ac_header; break])
[test "$need_panel_menu" = "yes" -o "$need_panel_menu" = "auto"],
[AC_SUBST([ncurses_extra_LIBS])
LIBS_old="$LIBS"
+ LIBS=
AC_SEARCH_LIBS(
[new_panel],
[panelw panel],