summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDave Reisner2012-06-30 18:01:18 +0200
committerKarel Zak2012-07-09 17:08:44 +0200
commitfbd2620d4ed04884116603d250d000c33fc9ea39 (patch)
tree9d82b892311c5c533e7e48a77cf8f2bf6198cfcf /configure.ac
parentdocs: remove unused config/texinfo.tex (diff)
downloadkernel-qcow2-util-linux-fbd2620d4ed04884116603d250d000c33fc9ea39.tar.gz
kernel-qcow2-util-linux-fbd2620d4ed04884116603d250d000c33fc9ea39.tar.xz
kernel-qcow2-util-linux-fbd2620d4ed04884116603d250d000c33fc9ea39.zip
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 <dreisner@archlinux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 9f32b8248..400576833 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