|
|
|
[PATCH] Ensure BUILD_CFDISK is always defined | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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@xxxxxxxxxxxxx> --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 198366a..cedeeaf 100644 --- a/configure.ac +++ b/configure.ac @@ -628,9 +628,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 -- 1.7.11.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]