>>>>> "AD" == Akim Demaille <[EMAIL PROTECTED]> writes:
AD> |I was wrong when I said XEmacs' configure indiscriminately uses
AD> |`unset'. In fact it does something like this:
AD> |
AD> |
AD> |if test -n "$ZSH_VERSION"; then
AD> | dnl zsh's Bourne shell emulation options
AD> | setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO
AD> | setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH
AD> | setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS
AD> | setopt SH_WORD_SPLIT BSD_ECHO IGNORE_BRACES
AD> | dnl zsh-3.1-beta drops core on the following
AD> | dnl unset CDPATH
AD> Do you really care about betas? In fact I have a similar patch for
AD> Autoconf, but I have not sent it yet because my zsh (3.1.6-pws16)
AD> dumps core on `trap '' 1 2 15' :)
AD> BTW, why do you use setopt, which list changes, and not "emulate sh".
AD> Also, I need to set NULLCMD=:, otherwise zsh is stuck on `> foo'. How
AD> come you don't need it?
Hmmm. zsh-2.5 doesn't seem to have a emulate command. Maybe it was
introduced after I got the above list (probably from some piece of zsh
documentation). I'm not going to change anything.
I just tried running configure again with zsh 3.1.6 and everything is
OK. Maybe my configure doesn't use `> foo'.