From: Yann E. MORIN" Date: Mon, 5 Mar 2012 20:45:56 +0000 (+0100) Subject: configure: fix search for secondary ncurses libs X-Git-Tag: v3.3.0-0~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41e04054f19668f8e1b518b86f5a77883b853903;p=kconfig-frontends configure: fix search for secondary ncurses libs 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" --- diff --git a/configure.ac b/configure.ac index bac33ae..86df369 100644 --- a/configure.ac +++ b/configure.ac @@ -225,7 +225,8 @@ AS_IF( 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( @@ -235,7 +236,8 @@ 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(