From mboxrd@z Thu Jan 1 00:00:00 1970 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) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 12 Oct 2010 15:00:36 +0200 Message-Id: <1286888457-5033-19-git-send-email-pbonzini@redhat.com> In-Reply-To: <1286888457-5033-1-git-send-email-pbonzini@redhat.com> References: <1286888457-5033-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 18/39] add autoconfy alias CC= for --cc List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@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 " -- 1.7.2.3