From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10230 invoked by alias); 31 Aug 2012 18:23:41 -0000 Received: (qmail 10220 invoked by uid 22791); 31 Aug 2012 18:23:40 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,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; Fri, 31 Aug 2012 18:23:27 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7VINE0O013899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 31 Aug 2012 14:23:21 -0400 Received: from host2.jankratochvil.net (ovpn-116-33.ams2.redhat.com [10.36.116.33]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q7VHuTXk022381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 31 Aug 2012 13:56:32 -0400 Date: Fri, 31 Aug 2012 18:23:00 -0000 From: Jan Kratochvil To: Khoo Yit Phang Cc: Andreas Schwab , Hui Zhu , gdb-patches@sourceware.org, David Malcolm Subject: Re: [patch] Re: Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk") Message-ID: <20120831175629.GA13169@host2.jankratochvil.net> References: <310D6419-544D-4D08-BB8B-21BC87C8241A@cs.umd.edu> <20120830182122.GA31421@host2.jankratochvil.net> <5C297339-3CCE-4350-9C7B-2C99B9FA01CA@cs.umd.edu> <20120830190523.GA781@host2.jankratochvil.net> <184D5CC3-BC35-4CA1-BE77-FC4D30D50E84@cs.umd.edu> <5567AD5F-AB82-4002-8A36-BFFF776093BD@cs.umd.edu> <20120831081353.GA23421@host2.jankratochvil.net> <292C2B59-D40B-451F-B69B-0730BFB06619@cs.umd.edu> <630BF15A-54CB-421E-94D2-0CB1C188E7F1@cs.umd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <630BF15A-54CB-421E-94D2-0CB1C188E7F1@cs.umd.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00899.txt.bz2 On Fri, 31 Aug 2012 18:07:43 +0200, Khoo Yit Phang wrote: > On Aug 31, 2012, at 11:40 AM, Andreas Schwab wrote: > > Such complicated test expressions are not portable, you should use > > separate test invocations chained with || and &&. > > Can you clarify the rule-of-thumb for this? Both -a and -o are used in tests > elsewhere in configure.ac. No more than one -a or -o? Autoconf manual really says: The `-a', `-o', `(', and `)' operands are not portable and should be avoided. But '-a' and '-o' are already used in configure.ac. '(' and ')' are not but that should be the same category, also POSIX documents '(' and ')'. Jan