From: Dave Reisner <dreisner@archlinux.org>
To: util-linux@vger.kernel.org
Cc: Dave Reisner <dreisner@archlinux.org>
Subject: [PATCH] Ensure BUILD_CFDISK is always defined
Date: Sat, 30 Jun 2012 12:01:18 -0400 [thread overview]
Message-ID: <1341072078-20095-1-git-send-email-dreisner@archlinux.org> (raw)
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>
---
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
next reply other threads:[~2012-06-30 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 16:01 Dave Reisner [this message]
2012-07-09 15:09 ` [PATCH] Ensure BUILD_CFDISK is always defined Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1341072078-20095-1-git-send-email-dreisner@archlinux.org \
--to=dreisner@archlinux.org \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).