When building statically, the ncurses library must be specified if
one tries to link any of the libpanel of libmenu libraries.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
AC_SEARCH_LIBS(
[new_panel],
[panelw panel],
- [ac_ct_panel_lib_found=yes; break])
+ [ac_ct_panel_lib_found=yes; break],,
+ [$ncurses_LIBS])
AS_IF(
[test -z "$ac_ct_panel_lib_found"],
[AS_IF(
AC_SEARCH_LIBS(
[menu_init],
[menuw menu],
- [ac_ct_menu_lib_found=yes; break])
+ [ac_ct_menu_lib_found=yes; break],,
+ [$ncurses_LIBS])
AS_IF(
[test -z "$ac_ct_panel_lib_found"],
[AS_IF(