delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/30/13:52:58

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
To: "'Eli Zaretskii'" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
Subject: Re: Small bash issue with #! handling
Date: Wed, 30 Jan 2002 18:44:38 +0100
Message-ID: <000901c1a9b5$ca0ed930$517c76d5@zastaixp>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
In-Reply-To: <3028-Wed30Jan2002190202+0200-eliz@is.elta.co.il>
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

> Would they agree to doing two tests, once with /bin/sh, the other
> with $SHELL, as before?

Akim might, but I doubt it - it would be yet another (small) test
that slows down autoconf, and for little gain.  Plus, if the two tests
disagree, which do you trust?

> 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?

To a certain extent.  I think that moving up the loading of config.site
and using CONFIG_SHELL is probably a better option; I'll try to get that
done.

> > 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.

No more than it does now (since I would have bash append $DJDIR/bin to
PATH, lookups will be identical, except that if DJDIR is set, it may get
found there where otherwise it would fail).  Plus, bash could fall back
to its own location if DJDIR isn't set.
I must say I don't see how any of this breaks bash - in fact, it would
eliminate one breakage.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019