AC_ARG_ENABLE(convert) sets $enable_convert, not $enable_btrfsconvert.
Signed-off-by: Mike Gilbert <floppym@xxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html