From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 10 01:07:23 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC97F106566C for ; Mon, 10 Mar 2008 01:07:23 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (student.mired.org [66.92.153.77]) by mx1.freebsd.org (Postfix) with SMTP id 91DBE8FC1E for ; Mon, 10 Mar 2008 01:07:23 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 60576 invoked by uid 1001); 10 Mar 2008 01:05:42 -0000 Received: from bhuda.mired.org (localhost.localdomain [127.0.0.1]) by bhuda.mired.org (tmda-ofmipd) with ESMTP; Sun, 09 Mar 2008 21:05:41 -0400 Date: Sun, 9 Mar 2008 21:05:15 -0400 To: Mikko =?UTF-8?B?VHnDtmzDpGrDpHJ2aQ==?= Message-ID: <20080309210515.50f710cf@bhuda.mired.org> In-Reply-To: <20080309173523.D907@antec.home> References: <20080309152712.42752293@bhuda.mired.org> <47D46127.2030802@chuckr.org> <20080309194050.39bab925@bhuda.mired.org> <20080309173523.D907@antec.home> Organization: Meyer Consulting X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd6.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: Why doesn't autoconf like our /bin/sh? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 01:07:24 -0000 On Sun, 9 Mar 2008 17:41:15 -0700 (PDT) Mikko Ty=C3=B6l=C3=A4j=C3=A4rvi wrote: > On Sun, 9 Mar 2008, Mike Meyer wrote: >=20 > [...] >=20 > > So there are at *least* three things that could be considered broken, > > in that changing them would fix the problem I encountered. > > > > 1) Our /bin/sh isn't classified as Definitely usable. > > 2) zsh is Not usable. > > 3) zsh is classified as Maybe usable. > > > > #1 could be fixed on our side, if we understood why it wasn't > > usable. It could also be fixed by the autoconf folks. #2 has to be > > fixed by the zsh folks. #3 has to be fixed by the autoconf folks. >=20 > Zsh has a large number of configuration settings that can make it > more or less sh(1)-compatible. I've been bitten by SH_WORD_SPLIT, > which defaults to being incompatible, IIRC. >=20 > Since zsh is my interactive shell of preference, I spent a few minutes > trying to reproduce your problems, but failed. Perhaps there is > something in your .z* config files that make things go awry? Note that to reproduce it, you must *not* have any shells installed that the configure script classifies as "definitely usable". In particular, if you've got bash installed (and a number of ports will install it for you), the configure script finds that and will use it. Also, doing things through ports causes SHELL to be set to /bin/sh (normally, anway), and hence masks the problem. There seem to be a fwe things in my environment specific to zsh - other than all the completion stuff, of course, which shouldn't make any difference - MULTIOS, zsh, FPATH and extendedglob. Turning them all off doesn't make any difference. Thanks, http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.