This contains two emergency bug fixes for configure. One works around a
bug in zsh when running as sh (unset CDPATH drops core), the other
fixes a problem with $ expansion in a here document. There are no
other other code changes.
http://cvs.xemacs.org/
ftp://ftp.xemacs.org/pub/xemacs/beta/testing/
If you have autoconf, you can apply the attached patch to get a
configurable, buildable and runnable XEmacs.
1998-05-13 SL Baur <steve(a)altair.xemacs.org>
* configure.in (ZSH_VERSION): zsh-3.1.2 (and zsh-3.0.4) drops core
on the `unset CDPATH' if running as sh.
Index: version.sh
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/version.sh,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- version.sh 1998/05/14 04:45:49 1.95
+++ version.sh 1998/05/14 06:01:11 1.96
@@ -2,7 +2,7 @@
emacs_major_version=21
emacs_minor_version=0
emacs_beta_version=40
-xemacs_codename="Saanen-pre3"
+xemacs_codename="Saanen-pre4"
infodock_major_version=3
infodock_minor_version=90
infodock_build_version=7
Index: configure.in
===================================================================
RCS file: /usr/local/xemacs/xemacs-20.0/configure.in,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- configure.in 1998/05/14 04:45:49 1.100
+++ configure.in 1998/05/14 06:01:11 1.101
@@ -244,7 +244,9 @@
setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH
setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS
setopt SH_WORD_SPLIT BSD_ECHO IGNORE_BRACES
- unset CDPATH
+ dnl zsh-3.1-beta drops core on the following
+ dnl unset CDPATH
+ if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi
elif test -n "$BASH_VERSION"; then
dnl Use Posix mode with bash
set -o posix
@@ -1648,10 +1650,10 @@
CPP_to_sh(LD_SWITCH_SHARED, ld_switch_shared, -c)
#ifdef ORDINARY_LINK
-#define LD "$(CC) $(CFLAGS)"
+#define LD "\$(CC) \$(CFLAGS)"
#else /* no ORDINARY LINK */
#ifdef COFF_ENCAPSULATE
-#define LD "$(CC) -nostdlib"
+#define LD "\$(CC) -nostdlib"
#else /* not COFF_ENCAPSULATE */
#ifdef LINKER
#define LD LINKER