autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] A better (?) _AC_EXEEXT


From: Lars J. Aas
Subject: Re: [PATCH] A better (?) _AC_EXEEXT
Date: Wed, 11 Oct 2000 13:15:08 +0200
User-agent: Mutt/1.2.5i

On Tue, Oct 10, 2000 at 07:35:52PM +0200, Akim Demaille wrote:
: | BTW, is the "-ef" option to ``test'' portable? If not, that part could
: | be stripped out.
: 
: See the documentation of Autoconf :)
: 
:         @item @command{test} (files)
:         To enable @code{configure} scripts to support
:         cross-compilation, they shouldn't do anything that tests
:         features of the build system instead of the host system.  But
:         occasionally you may find it necessary to check whether some
:         arbitrary file exists.  To do so, use @samp{test -f} or
:         @samp{test -r}.  Do not use @samp{test -x}, because
:         @sc{4.3bsd} does not have it.  Do not use @samp{test -e}
:         either, because Solaris 2.5 does not have it.

Note that the above described "-e" option is a completely different option
from the "-ef" option.  When finding the exeext, I also believe it is
unproblematic to do so on the build system, regardless of whether you
cross-compile or not...  The question still remains; is the "-ef" option
universally supported?

  Lars J



reply via email to

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