diff nt/xemacs.mak @ 4458:d9b9b5f90386

Provide SHEBANG_PROGNAME on Win32; correct a bug with it and string concat'ing nt/ChangeLog addition: 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> * xemacs.mak (PROGRAM_DEFINES): Provide SHEBANG_PROGNAME on Win32 too. src/ChangeLog addition: 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH): Use WEXTSTRING separately on the two concatenated strings, avoiding an error on Win32.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 13 May 2008 20:16:53 +0200
parents eb82fbb675ea
children 202cb69c4d87
line wrap: on
line diff
--- a/nt/xemacs.mak	Tue May 13 20:11:51 2008 +0200
+++ b/nt/xemacs.mak	Tue May 13 20:16:53 2008 +0200
@@ -427,6 +427,7 @@
 	-DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\"		\
 	-DPATH_PROGNAME=\"infodock\" 				\
 	-DEMACS_PROGNAME=\"infodock\"				\
+	-DSHEBANG_PROGNAME=\"infodock-script\"			\
 	-DEMACS_VERSION=\"$(INFODOCK_VERSION_STRING)\"		\
 	-DINFODOCK_MAJOR_VERSION=$(infodock_major_version)	\
 	-DINFODOCK_MINOR_VERSION=$(infodock_minor_version)	\
@@ -444,7 +445,7 @@
 	-DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\"		\
 	-DPATH_PROGNAME=\"xemacs\"				\
 	-DEMACS_VERSION=\"$(XEMACS_VERSION_STRING)\"		\
-	-DEMACS_PROGNAME=\"xemacs\"
+	-DEMACS_PROGNAME=\"xemacs\" -DSHEBANG_PROGNAME=\"xemacs-script\"
 !endif
 
 ########################### Set up installation and package directories.