Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Two questions



Bart Schaefer wrote:
>(1) I've forgotten where those filenames starting with `!' are used, and
>there's no mention of it in INSTALL or Etc/zsh-development-guide, nor in
>"configure --help" output, nor any of the other obvious places I looked.
>Will somebody who does remember what it means please document it?

Patch below.  I also added a section on the development tools that are
required, to document the version requirement on autoconf.

>(2) Relying on the ability to edit config.status is bad news to begin with.
>There must be some other way to deal with this?

There isn't.  I tried everything more reasonable first; there really is
no better way to handle this problem.

-zefram

Index: ChangeLog
===================================================================
RCS file: /cvsroot/zsh/zsh/ChangeLog,v
retrieving revision 1.26
diff -c -r1.26 ChangeLog
*** ChangeLog	2000/04/06 12:46:29	1.26
--- ChangeLog	2000/04/06 16:38:53
***************
*** 1,3 ****
--- 1,9 ----
+ 2000-04-06  Andrew Main  <zefram@xxxxxxx>
+ 
+ 	* zefram1: configure.in, Etc/zsh-development-guide: List of tools
+ 	required for development work, and a little more conspicuous
+ 	explanation of the config.status hack.
+ 
  2000-04-06  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
  
  	* 10543: Makefile.in: avoid distcleaning Test twice
Index: configure.in
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.in,v
retrieving revision 1.1.1.65
diff -c -r1.1.1.65 configure.in
*** configure.in	2000/03/25 18:04:48	1.1.1.65
--- configure.in	2000/04/06 16:38:58
***************
*** 1607,1613 ****
  [test -z "$CONFIG_HEADERS" || echo > stamp-h])
  
  dnl The standard config.status is missing some essential features.
! dnl So add them now.
  [rm -f $CONFIG_STATUS.old
  cp $CONFIG_STATUS $CONFIG_STATUS.old
  sed '1,$s@^\( *ac_file_inputs=\).*$@\1`echo $ac_file_in | sed -e "s%^%:%" -e "s%:\\([^!]\\)% $ac_given_srcdir/\\1%g" -e "s%:!% %"`@' \
--- 1607,1613 ----
  [test -z "$CONFIG_HEADERS" || echo > stamp-h])
  
  dnl The standard config.status is missing some essential features.
! dnl So add them now.  See the comment at the end of Src/mkmakemod.sh.
  [rm -f $CONFIG_STATUS.old
  cp $CONFIG_STATUS $CONFIG_STATUS.old
  sed '1,$s@^\( *ac_file_inputs=\).*$@\1`echo $ac_file_in | sed -e "s%^%:%" -e "s%:\\([^!]\\)% $ac_given_srcdir/\\1%g" -e "s%:!% %"`@' \
Index: Etc/zsh-development-guide
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/zsh-development-guide,v
retrieving revision 1.1.1.10
diff -c -r1.1.1.10 zsh-development-guide
*** Etc/zsh-development-guide	1999/12/16 14:26:28	1.1.1.10
--- Etc/zsh-development-guide	2000/04/06 16:39:05
***************
*** 12,17 ****
--- 12,34 ----
  are very simple and hopefully should make for a more orderly development
  of zsh.
  
+ Tools
+ -----
+ 
+ To develop (as opposed to just build) zsh, you'll need a few specialised
+ tools:
+ 
+ * GNU autoconf, version 2.12 or later.  (Earlier versions mostly work,
+   but part of the configuration system now relies on part of the format
+   of the config.status files that get generated.  See the comments in
+   configure.in and at the end of Src/mkmakemod.sh for an explanation.)
+ 
+ * GNU m4.  (Required by autoconf.)
+ 
+ * yodl.
+ 
+ * texi2html.
+ 
  Patches
  -------
  
END



Messages sorted by: Reverse Date, Date, Thread, Author