From patchwork Tue Sep 14 08:29:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristan Gingold X-Patchwork-Id: 64679 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 535F7B6F14 for ; Tue, 14 Sep 2010 18:29:50 +1000 (EST) Received: (qmail 11104 invoked by alias); 14 Sep 2010 08:29:47 -0000 Received: (qmail 11093 invoked by uid 22791); 14 Sep 2010 08:29:46 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Sep 2010 08:29:41 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id A393BCB02BE for ; Tue, 14 Sep 2010 10:29:37 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6m1ORnwOftLL for ; Tue, 14 Sep 2010 10:29:37 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 8FF3BCB01EF for ; Tue, 14 Sep 2010 10:29:37 +0200 (CEST) From: Tristan Gingold Subject: [Patch] Fix configure crash (typos) Date: Tue, 14 Sep 2010 10:29:37 +0200 Message-Id: <7810EB69-02C1-4D54-B5F2-7BBFC986D863@adacore.com> To: gcc-patches Mime-Version: 1.0 (Apple Message framework v1081) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, there are some (obvious ?) typos that make gcc/configure crashes when configuring for a cross-compiler. Ok to commit ? Tristan. 2010-09-14 Tristan Gingold * configure.ac (plugins): Fix typos. * configure: Regenerate. diff --git a/gcc/configure.ac b/gcc/configure.ac index e02dac9..278cc4f 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4644,7 +4644,7 @@ case "${host}" in *-*-darwin*) if test x$build = x$host; then export_sym_check="nm${exeext} -g" - elif x$host = x$target; then + elif test x$host = x$target; then export_sym_check="$gcc_cv_nm -g" else export_sym_check= @@ -4653,7 +4653,7 @@ case "${host}" in *) if test x$build = x$host; then export_sym_check="objdump${exeext} -T" - elif x$host = x$target; then + elif test x$host = x$target; then export_sym_check="$gcc_cv_objdump -T" else export_sym_check=