diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-09-11 07:00:05 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-09-11 07:00:05 +0000 |
commit | 6e09c17757603c0ae64a9919df724d71ca8c8bf9 (patch) | |
tree | 9e4794eadcc6eb8aedae7f4bdc910dd544794836 /zshconfig.ac | |
parent | a6f583e4187a73c515bbe6214acc036034c81594 (diff) | |
download | zsh-6e09c17757603c0ae64a9919df724d71ca8c8bf9.tar.gz zsh-6e09c17757603c0ae64a9919df724d71ca8c8bf9.tar.xz zsh-6e09c17757603c0ae64a9919df724d71ca8c8bf9.zip |
19059: add -v, -V and -p flags required by POSIX to the command builtin
Diffstat (limited to 'zshconfig.ac')
-rw-r--r-- | zshconfig.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/zshconfig.ac b/zshconfig.ac index b8ae886e0..48bb3c069 100644 --- a/zshconfig.ac +++ b/zshconfig.ac @@ -1323,6 +1323,20 @@ if test $zsh_cv_rlimit_vmem_is_as = yes; then fi +dnl -------------------------------------------- +dnl CHECK FOR DEFAULT PATH (used for command -p) +dnl -------------------------------------------- +AC_CACHE_VAL(zsh_cv_cs_path, +[if getconf _CS_PATH >/dev/null 2>&1; then + zsh_cv_cs_path=`getconf _CS_PATH` +elif getconf CS_PATH >/dev/null 2>&1; then + zsh_cv_cs_path=`getconf CS_PATH` +else + zsh_cv_cs_path="/bin:/usr/bin" +fi]) +AC_DEFINE_UNQUOTED(DEFAULT_PATH, "$zsh_cv_cs_path") + + dnl ---------------------------- dnl CHECK FOR /dev/fd FILESYSTEM dnl ---------------------------- |