From cb4975f4aa76818691891e007a9c767a1f5bdd00 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 22 Jul 2012 14:21:10 -0500 Subject: [PATCH] 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: --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"], -- 2.39.5