]> git.sur5r.net Git - kconfig-frontends/commitdiff
configure: better isolate libraries search results
authorYann E. MORIN" <yann.morin.1998@free.fr>
Mon, 5 Mar 2012 20:52:31 +0000 (21:52 +0100)
committerYann E. MORIN" <yann.morin.1998@free.fr>
Mon, 5 Mar 2012 20:52:31 +0000 (21:52 +0100)
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>
configure.ac

index 86df369ff8f73db9553b798ac097d479fef568e6..ac7b4c0eec4f92b557a0f869c8d3cf881ef770eb 100644 (file)
@@ -190,6 +190,7 @@ AS_IF(
     [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])
@@ -222,6 +223,7 @@ AS_IF(
     [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],