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

ZSH_VERSIONSUFFIX [was Re: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]]



On Mon, Jan 21, 2008 at 08:35:17PM -0500, Clint Adams wrote:
> +VERSION="$VERSION$ZSH_VERSIONSUFFIX"

So this actually doesn't work for reasons that should be obvious from
the ugly patch below. The suffix is lost in a ./config.status --recheck;
I don't know whether to view this as a feature or a bug.

Index: Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Makefile.in,v
retrieving revision 1.17
diff -u -r1.17 Makefile.in
--- Makefile.in	16 Sep 2006 15:53:03 -0000	1.17
+++ Makefile.in	1 Feb 2008 02:49:07 -0000
@@ -29,6 +29,7 @@
 SUBDIRS = Doc Etc Src Test
 
 @VERSION_MK@
+VERSION = @VERSION@
 
 # source/build directories
 VPATH           = @srcdir@
Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.89
diff -u -r1.89 configure.ac
--- configure.ac	22 Jan 2008 01:59:26 -0000	1.89
+++ configure.ac	1 Feb 2008 02:49:08 -0000
@@ -33,6 +33,7 @@
 . ${srcdir}/Config/version.mk
 VERSION="$VERSION$ZSH_VERSIONSUFFIX"
 echo "configuring for zsh $VERSION"
+AC_SUBST(VERSION)
 
 dnl ----------------------------------------------
 dnl CHECK FOR MACHINE/VENDOR/OPERATING SYSTEM TYPE
Index: Doc/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.38
diff -u -r1.38 Makefile.in
--- Doc/Makefile.in	20 Nov 2007 14:20:00 -0000	1.38
+++ Doc/Makefile.in	1 Feb 2008 02:49:09 -0000
@@ -28,6 +28,7 @@
 dir_top = ..
 
 @VERSION_MK@
+VERSION = @VERSION@
 
 # source/build directories
 VPATH           = @srcdir@
Index: Etc/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- Etc/Makefile.in	3 Jul 2007 17:06:05 -0000	1.2
+++ Etc/Makefile.in	1 Feb 2008 02:49:09 -0000
@@ -29,6 +29,7 @@
 SUBDIRS =
 
 @VERSION_MK@
+VERSION = @VERSION@
 
 # source/build directories
 VPATH           = @srcdir@
Index: Src/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Makefile.in,v
retrieving revision 1.13
diff -u -r1.13 Makefile.in
--- Src/Makefile.in	24 Jul 2005 04:47:57 -0000	1.13
+++ Src/Makefile.in	1 Feb 2008 02:49:09 -0000
@@ -29,6 +29,7 @@
 SUBDIRS =
 
 @VERSION_MK@
+VERSION = @VERSION@
 
 # source/build directories
 VPATH           = @srcdir@
Index: Src/Makemod.in.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Makemod.in.in,v
retrieving revision 1.5
diff -u -r1.5 Makemod.in.in
--- Src/Makemod.in.in	20 Dec 2001 23:48:39 -0000	1.5
+++ Src/Makemod.in.in	1 Feb 2008 02:49:09 -0000
@@ -31,6 +31,7 @@
 # SUBDIRS is done by mkmakemod.sh
 
 @VERSION_MK@
+VERSION = @VERSION@
 
 # source/build directories
 VPATH           = @srcdir@
Index: Test/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/Makefile.in,v
retrieving revision 1.9
diff -u -r1.9 Makefile.in
--- Test/Makefile.in	18 Dec 2007 21:16:30 -0000	1.9
+++ Test/Makefile.in	1 Feb 2008 02:49:09 -0000
@@ -29,6 +29,7 @@
 SUBDIRS = 
 
 @VERSION_MK@
+VERSION = @VERSION@
 
 # source/build directories
 VPATH           = @srcdir@



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