From patchwork Thu Oct 11 15:19:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Merrill X-Patchwork-Id: 190923 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 930EE2C007F for ; Fri, 12 Oct 2012 02:19:32 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1350573573; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=oSpYkWK lW5MRR1sMaN0mqlTH4po=; b=X0IZgdNDRSRSI43gEjqXLqJILTlgBrxLlV4jTdN +Z61HXNdmaEJniVr9dDEkiBevAXPArAn6M4UkKNuQpo4eGofcYo0snIF/V3EgtjD nq6dEmb8TWmlncua/0mgeQjafTOHorf6NIBNKbYKLtgIh81DXoEmywSJyCJ3ohei DE70= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=RFUryjGRXXJp4QU+nG7/fb/7TvfsF+oShhYbQ1wahfBeiXORiHDT0+96vuEfYK syo84GWeoEQGlvqrTHMMRTPkoh8NWy+i5AvM8w3QSxNwx2EBMxVP5yaisjFmLyxp M1FTgB3Prw2eEajN/v2kMT2U+ozotzifvL9l7jTEur7wo=; Received: (qmail 17604 invoked by alias); 11 Oct 2012 15:19:27 -0000 Received: (qmail 17592 invoked by uid 22791); 11 Oct 2012 15:19:25 -0000 X-SWARE-Spam-Status: No, hits=-7.3 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_SPAMHAUS_DROP, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Oct 2012 15:19:22 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9BFJMU3024897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 11 Oct 2012 11:19:22 -0400 Received: from [10.3.113.39] (ovpn-113-39.phx2.redhat.com [10.3.113.39]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9BFJLr2017630 for ; Thu, 11 Oct 2012 11:19:21 -0400 Message-ID: <5076E378.5040002@redhat.com> Date: Thu, 11 Oct 2012 11:19:20 -0400 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: gcc-patches List Subject: Small configure.ac PATCH for aix configury 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 The check for .ref support on AIX used the wrong syntax, leading to broken output from autoconf. Tested by configuring a cross-compiler, applying to trunk as obvious. commit 885339b51d3221bcceabeaf9b2e5f39664ad947d Author: Jason Merrill Date: Thu Oct 11 09:01:49 2012 -0400 * configure.ac (gcc_cv_as_aix_ref): Fix typo. * configure: Regenerate. diff --git a/gcc/configure b/gcc/configure index a7cc645..387de5b 100755 --- a/gcc/configure +++ b/gcc/configure @@ -25363,8 +25363,8 @@ if test "${gcc_cv_as_aix_ref+set}" = set; then : else gcc_cv_as_aix_ref=no if test $in_tree_gas = yes; then - if test $gcc_cv_gas_vers -ge `expr \( \( 2.21.0 \* 1000 \) + gcc_cv_as_aix_ref=yes \) \* 1000 + ` - then : + if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 21 \) \* 1000 + 0` + then gcc_cv_as_aix_ref=yes fi elif test x$gcc_cv_as != x; then $as_echo ' .csect stuff[rw] diff --git a/gcc/configure.ac b/gcc/configure.ac index f57f3cd..b6c049b 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3893,7 +3893,7 @@ LCF0: case $target in *-*-aix*) gcc_GAS_CHECK_FEATURE([.ref support], - gcc_cv_as_aix_ref, [2.21.0],, + gcc_cv_as_aix_ref, [2,21,0],, [ .csect stuff[[rw]] stuff: .long 1