bug-make
[Top][All Lists]
Advanced

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

Re: [7606] shell builtin "test" not invoked if appears alone


From: kabe
Subject: Re: [7606] shell builtin "test" not invoked if appears alone
Date: Sat, 7 Feb 2004 02:40:05 +0900

address@hidden sed in <address@hidden>:
>> any other special character that would cause make to kick the command to
>> the slow path?

BTW Solaris /bin/test is a shellscript which is merly
`basename $0` "$@"
so on platforms like this, the slow path (sh -c test) should be faster.

Well Linux and *BSD uses binary /bin/test so slow path is slower.
If speed is at premium for bare "test",
you can detect the shellscriptness of the /bin/test and switch accordingly
in the configure
(which is a mess, and doesn't gain much anyway, as bare "test" is rare)
-- 
kabe




reply via email to

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