1 --- ./configure.orig 2015-07-13 10:00:56.000000000 +0000
2 +++ ./configure 2017-03-07 21:29:44.492136734 +0000
4 msg_checking "for working ncurses setup"
5 for flag in "" "-I/usr/include/ncurses" "-I/usr/include/ncursesw"
7 - if try_compile_link "$ncurses_code" $flag $NCURSES_LIBS
8 + if try_compile_link "$ncurses_code" $NCURSES_CFLAGS $flag $NCURSES_LIBS
10 NCURSES_CFLAGS="$NCURSES_CFLAGS $flag"