From: Yaakov Selkowitz Date: Sun, 22 Jul 2012 19:21:10 +0000 (-0500) Subject: configure: check ncursesw headers first X-Git-Tag: v3.6.0-0~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cb4975f4aa76818691891e007a9c767a1f5bdd00;p=kconfig-frontends configure: check ncursesw headers first If both ncurses and ncursesw are installed, the headers ncurses/curses.h and ncursesw/curses.h differ, and since libncursesw will be found first, so should ncursesw/curses.h. Based on kernel commit 84354256bff5e95ed3dd8d42b4d7322044c979d7. Signed-off-by: Yaakov Selkowitz Message-Id: --- diff --git a/configure.ac b/configure.ac index 0ccd842..a276f49 100644 --- a/configure.ac +++ b/configure.ac @@ -271,7 +271,7 @@ AS_IF( LIBS_old="$LIBS" LIBS= AC_CHECK_HEADERS( - [ncurses/ncurses.h ncurses/curses.h ncursesw/curses.h ncurses.h curses.h], + [ncursesw/curses.h ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h], [CURSES_LOC=$ac_header; break]) AS_IF( [test -z "$CURSES_LOC"],