All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: Fix autoconf handling of --enable-convert
@ 2015-03-25  0:55 Mike Gilbert
  2015-03-25  1:54 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Gilbert @ 2015-03-25  0:55 UTC (permalink / raw)
  To: linux-btrfs

AC_ARG_ENABLE(convert) sets $enable_convert, not $enable_btrfsconvert.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0692d5a..1171ed7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,13 +94,13 @@ fi
 
 AC_ARG_ENABLE([convert],
 	      AS_HELP_STRING([--disable-convert], [do not build btrfs-convert]),
-  [], [enable_btrfsconvert=yes]
+  [], [enable_convert=yes]
 )
 
-AS_IF([test "x$enable_btrfsconvert" = xyes], [DISABLE_BTRFSCONVERT=0], [DISABLE_BTRFSCONVERT=1])
+AS_IF([test "x$enable_convert" = xyes], [DISABLE_BTRFSCONVERT=0], [DISABLE_BTRFSCONVERT=1])
 AC_SUBST([DISABLE_BTRFSCONVERT])
 
-if test "x$enable_btrfsconvert" = xyes; then
+if test "x$enable_convert" = xyes; then
 	PKG_CHECK_MODULES(EXT2FS, [ext2fs])
 	PKG_CHECK_MODULES(COM_ERR, [com_err])
 fi
@@ -163,7 +163,7 @@ AC_MSG_RESULT([
 
 	documentaton:      ${enable_documentation}
 	backtrace support: ${enable_backtrace}
-	btrfs-convert:     ${enable_btrfsconvert}
+	btrfs-convert:     ${enable_convert}
 
 	Type 'make' to compile.
 ])
-- 
2.3.3


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

* Re: [PATCH] btrfs-progs: Fix autoconf handling of --enable-convert
  2015-03-25  0:55 [PATCH] btrfs-progs: Fix autoconf handling of --enable-convert Mike Gilbert
@ 2015-03-25  1:54 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2015-03-25  1:54 UTC (permalink / raw)
  To: Mike Gilbert; +Cc: linux-btrfs

On Tue, Mar 24, 2015 at 08:55:41PM -0400, Mike Gilbert wrote:
> AC_ARG_ENABLE(convert) sets $enable_convert, not $enable_btrfsconvert.
> 
> Signed-off-by: Mike Gilbert <floppym@gentoo.org>

Applied, thanks.

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

end of thread, other threads:[~2015-03-25  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25  0:55 [PATCH] btrfs-progs: Fix autoconf handling of --enable-convert Mike Gilbert
2015-03-25  1:54 ` David Sterba

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.