summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-11-22 13:29:01 -0800
committerTim Rice <tim@multitalents.net>2002-11-22 13:29:01 -0800
commit1c9e688548a0f47fcfe41de43625f5b8a7d500dd (patch)
treed7726661187fd59e483c810112873d7bdfff7c0d /configure.ac
parentbe2396458eb442f095402019609d425fd54cacc1 (diff)
[configure.ac] fix STDPATH test for IRIX. First reported by advax@triumf.ca.
This type of solution tested by <herb@sgi.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 0736e41a..e96a0721 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.92 2002/11/13 23:55:57 tim Exp $
+# $Id: configure.ac,v 1.93 2002/11/22 21:29:03 tim Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@@ -2060,7 +2060,11 @@ Edit /etc/login.conf instead.])
# include <paths.h>
#endif
#ifndef _PATH_STDPATH
-# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
+# ifdef _PATH_USERPATH /* Irix */
+# define _PATH_STDPATH _PATH_USERPATH
+# else
+# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
+# endif
#endif
#include <sys/types.h>
#include <sys/stat.h>