summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/pathnames.h')
-rw-r--r--contrib/tcsh/pathnames.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/tcsh/pathnames.h b/contrib/tcsh/pathnames.h
index 80d86eb..3d1c8d7 100644
--- a/contrib/tcsh/pathnames.h
+++ b/contrib/tcsh/pathnames.h
@@ -1,4 +1,4 @@
-/* $Header: /p/tcsh/cvsroot/tcsh/pathnames.h,v 3.18 2002/03/08 17:36:46 christos Exp $ */
+/* $Header: /p/tcsh/cvsroot/tcsh/pathnames.h,v 3.22 2011/02/05 20:34:55 christos Exp $ */
/*
* pathnames.h: Location of things to find
*/
@@ -33,7 +33,7 @@
#ifndef _h_pathnames
#define _h_pathnames
-#ifdef BSD4_4
+#ifdef HAVE_PATHS_H
# include <paths.h>
#endif
@@ -92,6 +92,10 @@
# define _PATH_TCSHELL "/local/bin/tcsh" /* use ram disk */
#endif /* _MINIX && !_PATH_TCSHELL */
+#if defined(__linux__) && !defined(_PATH_TCSHELL)
+# define _PATH_TCSHELL "/bin/tcsh"
+#endif /* __linux__ && !_PATH_TCSHELL */
+
#if defined(__EMX__) && !defined(_PATH_DEVNULL)
# define _PATH_DEVNULL "nul"
#endif /* __EMX__ && !_PATH_DEVNULL */
@@ -141,7 +145,7 @@
#endif /* !_PATH_CSHELL */
#ifndef _PATH_TCSHELL
-# define _PATH_TCSHELL "/usr/local/bin/tcsh"
+# define _PATH_TCSHELL "/usr/local/bin/tcsh"
#endif /* !_PATH_TCSHELL */
#ifndef _PATH_BIN_LOGIN
OpenPOWER on IntegriCloud