proposed change to configure

Tim Rice tim at multitalents.net
Sat Nov 23 08:08:55 EST 2002


On Fri, 22 Nov 2002, Herb Lewis wrote:

> configure currently checks the paths.h file for the definition of
> _PATH_STDPATH
>
> On IRIX the define is named _PATH_USERPATH

Finally someone on IRIX has verified this will work.
I've been holding onto a similar patch since July.

I'll commit it now.

BTW. changes go in configure.ac as configure is a generated file.

>
> The following patch to configure allows the correct value to be obtained
>
> --- configure.orig      Wed Jun 26 07:08:18 2002
> +++ configure   Fri Nov 22 10:38:57 2002
> @@ -15705,8 +15713,12 @@
>  #ifdef HAVE_PATHS_H
>  # include <paths.h>
>  #endif
> +#ifdef _PATH_USERPATH
> +# define _PATH_STDPATH _PATH_USERPATH
> +#else
>  #ifndef _PATH_STDPATH
>  # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
> +#endif
>  #endif
>  #include <sys/types.h>
>  #include <sys/stat.h>
>
>

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list