proposed change to configure

Herb Lewis herb at sgi.com
Sat Nov 23 05:50:54 EST 2002


configure currently checks the paths.h file for the definition of
_PATH_STDPATH

On IRIX the define is named _PATH_USERPATH

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>

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
PGP Key: 0x8408D65D
======================================================================



More information about the openssh-unix-dev mailing list