From 41e04054f19668f8e1b518b86f5a77883b853903 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 5 Mar 2012 21:45:56 +0100 Subject: [PATCH] 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" --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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( -- 2.39.5