From patchwork Tue Oct 12 13:00:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 67562 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 ozlabs.org (Postfix) with ESMTPS id D9C74B6EF0 for ; Wed, 13 Oct 2010 00:20:41 +1100 (EST) Received: from localhost ([127.0.0.1]:35541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5emU-0000cw-5r for incoming@patchwork.ozlabs.org; Tue, 12 Oct 2010 09:20:38 -0400 Received: from [140.186.70.92] (port=41094 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5eUH-0007aG-Uz for qemu-devel@nongnu.org; Tue, 12 Oct 2010 09:01:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5eU9-0004k0-Rb for qemu-devel@nongnu.org; Tue, 12 Oct 2010 09:01:49 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:45574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5eU9-0004NX-OR for qemu-devel@nongnu.org; Tue, 12 Oct 2010 09:01:41 -0400 Received: by mail-vw0-f45.google.com with SMTP id 11so1025038vws.4 for ; Tue, 12 Oct 2010 06:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :message-id:x-mailer:in-reply-to:references; bh=9hCWJ1Hg1wZYaxlrBLYmkIGO0ijrBFCoB3IbM3D3Hj8=; b=vx9iNT5fPONst9Ns3lDGG7Pcsr9bKzY3HKtFV9Wr/cOP1efUDfB1JQzO2OLsDk1U8e p6mL2L0uZgbAaiotr6+6kJms5kkvFIYnpG/+rOuh+Jgc23kE8YU8GezzOUhU4HoaBBmD +43DywI4BgXgwfZxaYgOsyOpsBDx9pUb2RUBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; b=PGw3exB1/DZzLgaPJsgSLsYHPktuWZeCkx4A6Fb8R4zZf3VCBoISvYI9WYeRqD/zJi 9fS81OYtRbhGBiCTLc4Mk94My24MSazsyj8Kw3aapjY6vfL/lemcCrzHgwF+ZFkYWmQD wiyoCTTfRRILM3d7EUYw3TCU36SA3DJz7NXaE= Received: by 10.229.215.74 with SMTP id hd10mr5571341qcb.242.1286888501142; Tue, 12 Oct 2010 06:01:41 -0700 (PDT) Received: from localhost.localdomain (nat-pool-brq-t.redhat.com [209.132.186.34]) by mx.google.com with ESMTPS id s34sm5931078qcp.20.2010.10.12.06.01.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Oct 2010 06:01:40 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 12 Oct 2010 15:00:36 +0200 Message-Id: <1286888457-5033-19-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1286888457-5033-1-git-send-email-pbonzini@redhat.com> References: <1286888457-5033-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH 18/39] add autoconfy alias CC= for --cc 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 Signed-off-by: Paolo Bonzini --- configure | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 7f2e2a4..1ea56f7 100755 --- a/configure +++ b/configure @@ -180,7 +180,7 @@ for opt do case "$opt" in --cross-prefix=*) cross_prefix="$optarg" ;; - --cc=*) CC="$optarg" + CC=*|--cc=*) CC="$optarg" ;; --source-path=*) source_path="$optarg" source_path_used="yes" @@ -517,7 +517,7 @@ for opt do ;; --cross-prefix=*) ;; - --cc=*) + CC=*|--cc=*) ;; --host-cc=*) ;; @@ -828,7 +828,6 @@ echo "" echo "Advanced options (experts only):" echo " --source-path=PATH path of source code [$source_path]" echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]" -echo " --cc=CC use C compiler CC [$cc]" echo " --make=MAKE use specified make [$make]" echo " --install=INSTALL use specified install [$install]" echo " --static enable static build [$static]" @@ -924,10 +923,12 @@ echo " --disable-spice disable spice" echo " --enable-spice enable spice" echo "" echo "Deprecated options:" +echo " --cc=CC use C compiler CC [$cc]" echo " --extra-cflags=CFLAGS append extra C compiler flags QEMU_CFLAGS" echo " --extra-ldflags=LDFLAGS append extra linker flags LDFLAGS" echo "" echo "Some influential environment variables can be passed on the command line:" +echo " CC C compiler command" echo " CFLAGS C compiler flags" echo " CPPFLAGS C preprocessor flags, e.g. -I if you have" echo " headers in a nonstandard directory "