diff src/emacs.c @ 975:151d438d2d55

[xemacs-hg @ 2002-08-28 05:36:20 by youngs] 2002-08-16 Steve Youngs <youngs@xemacs.org> * version.sh (xemacs_extra_name): New var to identify XEmacs version > release < next release. ie, release+cvs. * configure.in: Test for xemacs_extra_name. * configure: Re-generate. 2002-08-16 Steve Youngs <youngs@xemacs.org> * build-report.el (build-report-installation-version-regexp): Update to cater for 'xemacs-extra-name'. (build-report-version-file-regexp): Ditto. (build-report): Ditto. (build-report-installation-data): Ditto. (build-report-version-file-data): Ditto. * version.el (emacs-version): Test for 'xemacs-extra-name'. 2002-08-16 Steve Youngs <youngs@xemacs.org> * config.h.in (XEMACS_EXTRA_NAME): New. * emacs.c (vars_of_emacs): Use it.
author youngs
date Wed, 28 Aug 2002 05:36:34 +0000
parents a703d313962d
children 25e260cb7994
line wrap: on
line diff
--- a/src/emacs.c	Sat Aug 24 10:23:48 2002 +0000
+++ b/src/emacs.c	Wed Aug 28 05:36:34 2002 +0000
@@ -324,6 +324,7 @@
 Lisp_Object Vemacs_patch_level;
 Lisp_Object Vemacs_beta_version;
 Lisp_Object Vxemacs_codename;
+Lisp_Object Vxemacs_extra_name;
 #ifdef INFODOCK
 Lisp_Object Vinfodock_major_version;
 Lisp_Object Vinfodock_minor_version;
@@ -3856,6 +3857,16 @@
 #endif
   Vxemacs_codename = build_string (XEMACS_CODENAME);
 
+  DEFVAR_LISP ("xemacs-extra-name", &Vxemacs_extra_name /*
+Extra string to maybe put into the version string.
+
+Usually used to denote an XEmacs built from a CVS checkout between
+releases.  In that case its value would be \"(+CVS)\".
+*/ );
+#ifdef XEMACS_EXTRA_NAME
+  Vxemacs_extra_name = build_string (XEMACS_EXTRA_NAME);
+#endif
+  
   /* Lisp variables which contain command line flags.
 
      The portable dumper stomps on these; they must be saved and restored