From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28451 invoked by alias); 31 Aug 2012 18:41:12 -0000 Received: (qmail 28442 invoked by uid 22791); 31 Aug 2012 18:41:11 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from server-nat-6.cs.umd.edu (HELO bacon.cs.umd.edu) (128.8.127.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 31 Aug 2012 18:40:53 +0000 Received: from wireless-206-196-162-181.umd.edu (wireless-206-196-162-181.umd.edu [206.196.162.181]) (Authenticated sender: khooyp) by bacon.cs.umd.edu (Postfix) with ESMTPSA id 48E0CB40228; Fri, 31 Aug 2012 14:40:51 -0400 (EDT) Subject: Re: [patch] Re: Disable -lmcheck when Python has threads (Re: [BUG] gdb crash when "python import gtk") Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Khoo Yit Phang In-Reply-To: <20120831175629.GA13169@host2.jankratochvil.net> Date: Fri, 31 Aug 2012 18:41:00 -0000 Cc: Khoo Yit Phang , Andreas Schwab , Hui Zhu , gdb-patches@sourceware.org, David Malcolm Content-Transfer-Encoding: quoted-printable Message-Id: 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> <20120831175629.GA13169@host2.jankratochvil.net> To: Jan Kratochvil X-CSD-MailScanner-ID: 48E0CB40228.A9A71 X-CSD-MailScanner: Found to be clean X-CSD-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=not spam, ALL_TRUSTED -50.00) X-CSD-MailScanner-From: khooyp@cs.umd.edu X-CSD-MailScanner-Watermark: 1347043251.39064@coS6fZkv9Q38D+2zfdrqpA 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/msg00900.txt.bz2 Hi, On Aug 31, 2012, at 1:56 PM, Jan Kratochvil wrote: > 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 &&. >>=20 >> Can you clarify the rule-of-thumb for this? Both -a and -o are used in t= ests >> elsewhere in configure.ac. No more than one -a or -o? >=20 > Autoconf manual really says: > The `-a', `-o', `(', and `)' operands are not portable and should be > avoided. >=20 > But '-a' and '-o' are already used in configure.ac. '(' and ')' are not = but > that should be the same category, also POSIX documents '(' and ')'. I've posted patches for both styles, I'll check in whichever is preferable. Yit August 31, 2012