From patchwork Wed Mar 25 00:55:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Gilbert X-Patchwork-Id: 6087091 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3B206BF90F for ; Wed, 25 Mar 2015 00:55:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D5D0202F8 for ; Wed, 25 Mar 2015 00:55:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E195202B4 for ; Wed, 25 Mar 2015 00:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752272AbbCYAzt (ORCPT ); Tue, 24 Mar 2015 20:55:49 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:41207 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752698AbbCYAzq (ORCPT ); Tue, 24 Mar 2015 20:55:46 -0400 Received: from naomi.gilbertsystems.net (d192-24-148-25.try.wideopenwest.com [24.192.25.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 824FE3408A3 for ; Wed, 25 Mar 2015 00:55:45 +0000 (UTC) From: Mike Gilbert To: linux-btrfs@vger.kernel.org Subject: [PATCH] btrfs-progs: Fix autoconf handling of --enable-convert Date: Tue, 24 Mar 2015 20:55:41 -0400 Message-Id: <1427244941-3896-1-git-send-email-floppym@gentoo.org> X-Mailer: git-send-email 2.3.3 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP AC_ARG_ENABLE(convert) sets $enable_convert, not $enable_btrfsconvert. Signed-off-by: Mike Gilbert --- 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. ])