[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Patch] Support for executable extensions (partial; for 2.51 queue)

From: Tim Van Holder
Subject: RE: [Patch] Support for executable extensions (partial; for 2.51 queue)
Date: Thu, 29 Mar 2001 21:22:04 +0200

> Wouldn't it be best if the extensionless executable case also could be
> included in this system and not treated implicit or as a special case?
> There's no way to add '' to the above list.  I have no suggestion on how
> to fix it, though.

I suppose we could do something like

for ac_exec_ext in "" $ac_exec_extensions; do
  if test -f $ac_file$ac_ext; then

I agree it would be nicer (prevents duplicating the 'if found' code).
I just tried to make my changes have as little impact as possible when
run on Unixy systems (which wouldn't have executable extensions anyway).
The above _may_ have problems under some shells, causing another
'test -x' incident :-).

In any case, this is just a suggestion for 2.51 (my target for an autoconf
that fully supports DOS, OS/2, etc. auto-of-the-box without relying on
too much magic in the bash ports of those platforms).  Any and all
improvements are welcomed.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]