add scp path to _PATH_STDPATH

Damien Miller djm at mindrot.org
Thu Mar 1 08:33:08 EST 2001


On Wed, 28 Feb 2001, Kevin Steves wrote:

> thanks, i finally looked at this.
>
> i don't like munging path if a user specified a path
> (--with-default-path).  i don't know if we want to try to maintain per
> platform default paths, and they probably should not include '.', as
> some of the defaults in the patch do.
>
> i would like to see the path to scp added only if the user did not
> specify --with-default-path, and the default path does not contain scp.

Because the PATH is usually obtained from the system include files,
you'll need to write a little autoconf test program which includes the
same path setting logic as defines.h and check whether @bindir@ is in
the resultant path.

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list