From: Karel Zak Date: Wed, 8 Jun 2016 10:24:10 +0000 (+0200) Subject: build-sys: add non-action for ncurses pkg-cong test X-Git-Tag: v2.29-rc1~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe177dadb510a93c6c6de94c0174b421cad476f;p=thirdparty%2Futil-linux.git build-sys: add non-action for ncurses pkg-cong test Signed-off-by: Karel Zak --- diff --git a/configure.ac b/configure.ac index c09a95c390..30940ba2b9 100644 --- a/configure.ac +++ b/configure.ac @@ -780,7 +780,7 @@ AS_IF([test "x$with_ncursesw" != xno], [ AC_DEFINE([HAVE_LIBNCURSESW], [1], [Define if ncursesw library available]) CURSES_LIB_NAME="ncursesw" AC_CHECK_HEADERS([ncursesw/ncurses.h ncurses.h]) - ]) + ], [have_ncursesw=no]) ]) AS_CASE([$with_ncursesw:$have_ncursesw], [yes:no], [AC_MSG_ERROR([ncursesw selected, but library not found])]) @@ -806,7 +806,7 @@ AS_IF([test "x$have_ncursesw" = xno -a "x$with_ncurses" != xno ], [ AC_DEFINE([HAVE_LIBNCURSES], [1], [Define if ncurses library available]) CURSES_LIB_NAME="ncurses" AC_CHECK_HEADERS([ncurses/ncurses.h ncurses.h]) - ]) + ],[have_ncurses=no]) ]) AS_CASE([$with_ncurses:$have_ncurses], [yes:no], [AC_MSG_ERROR([ncurses selected, but library not found])])