From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4674 invoked by alias); 12 May 2009 15:26:25 -0000 Received: (qmail 4665 invoked by uid 22791); 12 May 2009 15:26:23 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_102,J_CHICKENPOX_38,J_CHICKENPOX_92 X-Spam-Check-By: sourceware.org Received: from mta.netezza.com (HELO netezza.com) (12.148.248.132) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 May 2009 15:26:18 +0000 Received: from ([172.29.50.72]) by mta.netezza.com with SMTP id 4441227.11917373; Tue, 12 May 2009 11:26:15 -0400 Received: from [172.29.82.111] ([172.29.82.111]) by mail1.netezza.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 May 2009 11:26:15 -0400 Subject: Re: crosstool-ng libncurses check in configure From: Paul Smith Reply-To: psmith@netezza.com To: "crossgcc@sourceware.org" In-Reply-To: <4A06E511.70507@vmlinux.org> References: <4A06E511.70507@vmlinux.org> Content-Type: text/plain Date: Tue, 12 May 2009 15:26:00 -0000 Message-Id: <1242141974.30571.269.camel@psmith-ubeta.netezza.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00038.txt.bz2 On Sun, 2009-05-10 at 10:30 -0400, Joachim Nilsson wrote: > lib="$( echo lib{ncursesw,ncurses,curses}.{so,a,dylib} )" > > Is it possible we could change the configure script to use /bin/bash > instead of /bin/sh? I think that solution would be the best in the > long run. Personally I think that changing the script to work properly with a POSIX shell is the best in the _long_ run, as it's the most portable. The above seems like a lot of processing (non-portable, invokes an extra shell, etc.) to avoid writing 9 words: lib="libcursesw.so libcursesw.a libcursesw.dylib \ libncurses.so libncurses.a libncurses.dylib \ libcurses.so libcurses.a libcurses.dylib" JMHO. -- For unsubscribe information see http://sourceware.org/lists.html#faq