This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Your recent change to gcc/configure.in
On Mon, Nov 13, 2000 at 05:25:10PM +0000, Joseph S. Myers wrote:
> On Mon, 13 Nov 2000, Richard Earnshaw wrote:
>
> > Breaks builds on Solaris machines. 'test' on these machines does not
> > support the -e flag.
>
> Why doesn't Solaris support test -e (which is in POSIX.2)?
/usr/xpg4/bin/sh == [/usr]/bin/ksh == POSIX, and its builtin test does.
/usr/bin/test external binary does.
[/usr]/bin/sh != POSIX and will never == POSIX, and its builtin test does not.
(Yeah, yeah, I know, I don't like it any better than you do...)
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.