From fbd2620d4ed04884116603d250d000c33fc9ea39 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 30 Jun 2012 12:01:18 -0400 Subject: [PATCH] build-sys: ensure BUILD_CFDISK is always defined This avoids an error when configuring without ncurses: configure: error: conditional "BUILD_CFDISK" was never defined. Usually this means the macro was only invoked conditionally. Signed-off-by: Dave Reisner --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 9f32b82483..4005768330 100644 --- a/configure.ac +++ b/configure.ac @@ -629,9 +629,7 @@ fi AM_CONDITIONAL(HAVE_SLANG, test "x$have_slang" = xyes) -if test "x$have_slang" = xyes -o "x$have_ncurses" = xyes; then - AM_CONDITIONAL(BUILD_CFDISK, true) -fi +AM_CONDITIONAL(BUILD_CFDISK, test "x$have_slang" = xyes -o "x$have_ncurses" = xyes) have_tinfo=no -- 2.47.3