Skip to contentSkip to conversation

Ensure BUILD_CFDISK is always defined

PATCH Applied Dave Reisner 2 participants 2 messages Jun 30, 2012 – Jul 9, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 configure.ac | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
configure.ac +1 -3
index 198366a..cedeeaf 100644
@@ -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
Signature · 1 line
1.7.11.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Dave Reisner
 configure.ac | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com