All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Ensure BUILD_CFDISK is always defined
@ 2012-06-30 16:01 Dave Reisner
  2012-07-09 15:09 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Reisner @ 2012-06-30 16:01 UTC (permalink / raw)
  To: util-linux; +Cc: Dave Reisner

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Ensure BUILD_CFDISK is always defined
  2012-06-30 16:01 [PATCH] Ensure BUILD_CFDISK is always defined Dave Reisner
@ 2012-07-09 15:09 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-07-09 15:09 UTC (permalink / raw)
  To: Dave Reisner; +Cc: util-linux

On Sat, Jun 30, 2012 at 12:01:18PM -0400, Dave Reisner wrote:
>  configure.ac | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-09 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-30 16:01 [PATCH] Ensure BUILD_CFDISK is always defined Dave Reisner
2012-07-09 15:09 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.