aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Key2011-05-06 23:00:12 -0500
committerBen Key2011-05-06 23:00:12 -0500
commit4d3fcc8e6025592929f95ac1e36b9313ffa6d4f0 (patch)
tree3ec2f97c1b01856da3b1f3f65276a4dae325c1c7 /src
parenta3961c3e4d2a127cbaf4e20397855867259a7788 (diff)
downloademacs-4d3fcc8e6025592929f95ac1e36b9313ffa6d4f0.tar.gz
emacs-4d3fcc8e6025592929f95ac1e36b9313ffa6d4f0.zip
* nt/configure.bat: Renamed the fusercflags variable to escusercflags
so that the variable name better matches its purpose, to be identical to usercflags with the exception that all quotes are escaped by the \ character. Renamed the fuserldflags variable to escuserldflags so that the variable name better matches its purpose, to be identical to userldflags with the exception that all quotes are escaped by the \ character. A new ESC_USER_CFLAGS variable is written to config.settings. This variable has the same value as the escusercflags variable. * nt/gmake.defs, nt/nmake.defs: Added the variable ESC_CFLAGS. This variable is identical to the CFLAGS variable except that it includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS. * src/makefile.w32-in: The bootstrap-temacs rule now makes use of one of two shell specific rules, either bootstrap-temacs-CMD or bootstrap-temacs-SH. The bootstrap-temacs-SH rule is identical to the previous implementation of the bootstrap-temacs rule. The bootstrap-temacs-CMD rule is similar to the previous implementation of the bootstrap-temacs rule except that it makes use of the ESC_CFLAGS variable instead of the CFLAGS variable. These changes are required to extend my earlier fix to add support for --cflags and --ldflags options that include quotes so that it works whether make uses cmd or sh as the shell.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog17
-rw-r--r--src/makefile.w32-in8
2 files changed, 24 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 598d1fdd7b4..199c270a018 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,20 @@
12011-05-07 Ben Key <bkey76@gmail.com>
2
3 * makefile.w32-in: The bootstrap-temacs rule now makes use of
4 one of two shell specific rules, either bootstrap-temacs-CMD or
5 bootstrap-temacs-SH. The bootstrap-temacs-SH rule is identical
6 to the previous implementation of the bootstrap-temacs rule.
7 The bootstrap-temacs-CMD rule is similar to the previous
8 implementation of the bootstrap-temacs rule except that it
9 makes use of the ESC_CFLAGS variable instead of the CFLAGS
10 variable.
11
12 These changes, along with some changes to nt/configure.bat,
13 nt/gmake.defs, and nt/nmake.defs, are required to extend my
14 earlier fix to add support for --cflags and --ldflags options
15 that include quotes so that it works whether make uses cmd or
16 sh as the shell.
17
12011-05-06 Michael Albinus <michael.albinus@gmx.de> 182011-05-06 Michael Albinus <michael.albinus@gmx.de>
2 19
3 * dbusbind.c (QCdbus_type_unix_fd): Declare static. 20 * dbusbind.c (QCdbus_type_unix_fd): Declare static.
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index fb216eb16a6..e19a19645f9 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -244,9 +244,15 @@ bootstrap: bootstrap-emacs
244# 244#
245# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 245# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
246# this can break with GNU Make 3.81 and later if sh.exe is used. 246# this can break with GNU Make 3.81 and later if sh.exe is used.
247bootstrap-temacs: 247bootstrap-temacs-CMD:
248 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(ESC_CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
249
250bootstrap-temacs-SH:
248 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) 251 $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
249 252
253bootstrap-temacs:
254 $(MAKE) $(MFLAGS) bootstrap-temacs-$(SHELLTYPE)
255
250# 256#
251# Dump an Emacs executable named bootstrap-emacs containing the 257# Dump an Emacs executable named bootstrap-emacs containing the
252# files from loadup.el in source form. 258# files from loadup.el in source form.