In configure for openssh 4.3p2 is this:

as_executable_p="test -f"

as_executable_p, as the name suggests, is used to test whether a file is
executable or not, so should use -x and not -f. Discovered after doing
chmod a-x gcc so configure would not discover it, but found it anyway.
--
Roger Cornelius rac@tenzing.org
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev