diff mbox

btrfs-progs: Fix autoconf handling of --enable-convert

Message ID 1427244941-3896-1-git-send-email-floppym@gentoo.org (mailing list archive)
State Accepted
Headers show

Commit Message

Mike Gilbert March 25, 2015, 12:55 a.m. UTC
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(-)

Comments

David Sterba March 25, 2015, 1:54 a.m. UTC | #1
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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.
 ])