From patchwork Wed Aug 12 16:29:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31217 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 0813DB6F31 for ; Thu, 13 Aug 2009 02:58:24 +1000 (EST) Received: from localhost ([127.0.0.1]:34460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbH9W-00088Z-3U for incoming@patchwork.ozlabs.org; Wed, 12 Aug 2009 12:58:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbGkQ-000873-K1 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbGkI-0007yE-8L for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:18 -0400 Received: from [199.232.76.173] (port=39162 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbGkH-0007y2-VZ for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:14 -0400 Received: from mx2.redhat.com ([66.187.237.31]:55713) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbGkH-0004Jl-77 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:13 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7CGWCgr018310 for ; Wed, 12 Aug 2009 12:32:12 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7CGWB1g015775; Wed, 12 Aug 2009 12:32:11 -0400 Received: from localhost.localdomain (vpn-12-196.rdu.redhat.com [10.11.12.196]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7CGW57A003505; Wed, 12 Aug 2009 12:32:10 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 12 Aug 2009 18:29:52 +0200 Message-Id: <5a23915825ec2cf6210cd116d8602fb5b49e22a6.1250093910.git.quintela@redhat.com> In-Reply-To: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> References: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [Qemu-devel] [PATCH 15/20] Rename build_docs to docs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org All other features are named foo and enabled with --enable-foo. Signed-off-by: Juan Quintela --- configure | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 97a3161..7f0dc35 100755 --- a/configure +++ b/configure @@ -183,7 +183,7 @@ bluez="" brlapi="" curl="" curses="" -build_docs="" +docs="" nptl="" pthread="" vde="" @@ -547,9 +547,9 @@ for opt do ;; --with-pkgversion=*) pkgversion=" ($optarg)" ;; - --disable-docs) build_docs="no" + --disable-docs) docs="no" ;; - --enable-docs) build_docs="yes" + --enable-docs) docs="yes" ;; *) echo "ERROR: unknown option $opt"; show_help="yes" ;; @@ -1446,15 +1446,15 @@ if compile_prog "" "" ; then fi # Check if tools are available to build documentation. -if test "$build_docs" != "no" ; then +if test "$docs" != "no" ; then if test -x "`which texi2html 2>/dev/null`" -a \ -x "`which pod2man 2>/dev/null`" ; then - build_docs=yes + docs=yes else - if test "$build_docs" = "yes" ; then - feature_not_found "build_docs" + if test "$docs" = "yes" ; then + feature_not_found "docs" fi - build_docs=no + docs=no fi fi @@ -1630,7 +1630,7 @@ echo "kqemu support $kqemu" echo "xen support $xen" echo "brlapi support $brlapi" echo "bluez support $bluez" -echo "Documentation $build_docs" +echo "Documentation $docs" [ ! -z "$uname_release" ] && \ echo "uname -r $uname_release" echo "NPTL support $nptl" @@ -1760,7 +1760,7 @@ if [ "$source_path_used" = "yes" ]; then echo "VPATH=$source_path" >> $config_host_mak fi echo "TARGET_DIRS=$target_list" >> $config_host_mak -if [ "$build_docs" = "yes" ] ; then +if [ "$docs" = "yes" ] ; then echo "BUILD_DOCS=yes" >> $config_host_mak fi if test "$sdl" = "yes" ; then