#! /bin/sh # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh : ${lt_ECHO=echo} func_fallback_echo () { # Without the eval, Bourne shells create the here doc at definition time. eval 'cat <<_LT_EOF $* _LT_EOF ' : # work around bash bug } for ECHO in "$lt_ECHO" 'print -r' 'printf %s\n' func_fallback_echo \ '/usr/bin/printf %s\n' false do if test X`{ $ECHO '\t'; } 2>/dev/null` = 'X\t'; then set x $ECHO; shift type $1 case `{ type $1; } 2>/dev/null` in *builtin*) $ECHO "$ECHO is a working builtin echo." ;; *) $ECHO "$ECHO is a working external echo." ;; esac fi done