X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Wed, 30 Jan 2002 19:02:03 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: tim DOT van DOT holder AT pandora DOT be Message-Id: <3028-Wed30Jan2002190202+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <1012400962.3589.11.camel@bender.falconsoft.be> (message from Tim Van Holder on 30 Jan 2002 15:29:17 +0100) Subject: Re: Small bash issue with #! handling References: <1012400962 DOT 3589 DOT 11 DOT camel AT bender DOT falconsoft DOT be> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Tim Van Holder > Date: 30 Jan 2002 15:29:17 +0100 > > > I'd rather try to convince Autoconf maintainers to undo the change > > they did for OS/2, and solve the OS/2 problem in some other way. For > > example, they could set SHELL to /bin/sh for OS/2 only. No one said > > DJGPP has to be broken for OS/2's sake. > > In general, I agree, and I did try to have the patch undone. One is > that they do not want to rely on $SHELL (which is why CONFIG_SHELL > was introduced in the first place). Another is that /bin/sh is an > absolute path, so PATH should have NO bearing on whether it's found or > not. /bin/sh after hash-bang is a magic string interpreted by the ``system kernel'', so it's IMHO wrong on the part of Autoconf maintainers to assume that it is interpreted as if it were typed at the shell prompt. In any case, it's wrong to fix one port by breaking another. Would they agree to doing two tests, once with /bin/sh, the other with $SHELL, as before? I could think about other possibilities to have the cake and eat it, too, provided that the Autoconf maintainers are ready to listen. Are they? > That is why I suggested bash be changed to always look in > $DJDIR/bin for those lookups (as that directory is our equivalent of > /bin, /usr/bin, etc.). That would break if $DJGPP is not set.