aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorGlenn Morris2012-05-26 18:06:44 -0700
committerGlenn Morris2012-05-26 18:06:44 -0700
commit33017fafd17d722e82a268e9b272f27df261e09d (patch)
tree9c34640f09d51059804961d697ed9b07e19571d3 /nt
parentcaf8a9b2b301aba06735d403317b75b41df59bfe (diff)
parented7bebbb489cf6f893fc35a2a6714b0d8e7e8a90 (diff)
downloademacs-33017fafd17d722e82a268e9b272f27df261e09d.tar.gz
emacs-33017fafd17d722e82a268e9b272f27df261e09d.zip
Merge from emacs-24; up to 2012-04-24T08:35:02Z!lekktu@gmail.com
Diffstat (limited to 'nt')
-rw-r--r--nt/ChangeLog6
-rwxr-xr-xnt/configure.bat22
2 files changed, 17 insertions, 11 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 198729776b5..7a825ecb29f 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,9 @@
12012-05-27 Eli Zaretskii <eliz@gnu.org>
2
3 * configure.bat: Ensure a space between %var% expansion and
4 redirection symbol '>', which breaks when %var% ends in a digit,
5 such as 1.
6
12012-05-22 Paul Eggert <eggert@cs.ucla.edu> 72012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 Remove src/m/*. 9 Remove src/m/*.
diff --git a/nt/configure.bat b/nt/configure.bat
index db587b02997..a60df56fc94 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -757,25 +757,25 @@ rem NB. Be very careful to not have a space before redirection symbols
757rem except when there is a preceding digit, when a space is required. 757rem except when there is a preceding digit, when a space is required.
758rem 758rem
759echo # Start of settings from configure.bat >config.settings 759echo # Start of settings from configure.bat >config.settings
760echo COMPILER=%COMPILER%>>config.settings 760echo COMPILER=%COMPILER% >>config.settings
761if not "(%mf%)" == "()" echo MCPU_FLAG=%mf%>>config.settings 761if not "(%mf%)" == "()" echo MCPU_FLAG=%mf% >>config.settings
762if not "(%dbginfo%)" == "()" echo DEBUG_INFO=%dbginfo%>>config.settings 762if not "(%dbginfo%)" == "()" echo DEBUG_INFO=%dbginfo% >>config.settings
763if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings 763if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings
764if (%noopt%) == (Y) echo NOOPT=1 >>config.settings 764if (%noopt%) == (Y) echo NOOPT=1 >>config.settings
765if (%enablechecking%) == (Y) echo ENABLECHECKS=1 >>config.settings 765if (%enablechecking%) == (Y) echo ENABLECHECKS=1 >>config.settings
766if (%profile%) == (Y) echo PROFILE=1 >>config.settings 766if (%profile%) == (Y) echo PROFILE=1 >>config.settings
767if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings 767if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings
768if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings 768if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix% >>config.settings
769if not "(%distfiles%)" == "()" echo DIST_FILES=%distfiles%>>config.settings 769if not "(%distfiles%)" == "()" echo DIST_FILES=%distfiles% >>config.settings
770rem We go thru docflags because usercflags could be "-DFOO=bar" -something 770rem We go thru docflags because usercflags could be "-DFOO=bar" -something
771rem and the if command cannot cope with this 771rem and the if command cannot cope with this
772for %%v in (%usercflags%) do if not (%%v)==() set docflags=Y 772for %%v in (%usercflags%) do if not (%%v)==() set docflags=Y
773if (%docflags%)==(Y) echo USER_CFLAGS=%usercflags%>>config.settings 773if (%docflags%)==(Y) echo USER_CFLAGS=%usercflags% >>config.settings
774if (%docflags%)==(Y) echo ESC_USER_CFLAGS=%escusercflags%>>config.settings 774if (%docflags%)==(Y) echo ESC_USER_CFLAGS=%escusercflags% >>config.settings
775for %%v in (%userldflags%) do if not (%%v)==() set doldflags=Y 775for %%v in (%userldflags%) do if not (%%v)==() set doldflags=Y
776if (%doldflags%)==(Y) echo USER_LDFLAGS=%userldflags%>>config.settings 776if (%doldflags%)==(Y) echo USER_LDFLAGS=%userldflags% >>config.settings
777for %%v in (%extrauserlibs%) do if not (%%v)==() set doextralibs=Y 777for %%v in (%extrauserlibs%) do if not (%%v)==() set doextralibs=Y
778if (%doextralibs%)==(Y) echo USER_LIBS=%extrauserlibs%>>config.settings 778if (%doextralibs%)==(Y) echo USER_LIBS=%extrauserlibs% >>config.settings
779echo # End of settings from configure.bat>>config.settings 779echo # End of settings from configure.bat>>config.settings
780echo. >>config.settings 780echo. >>config.settings
781 781
@@ -784,8 +784,8 @@ echo. >>config.tmp
784echo /* Start of settings from configure.bat. */ >>config.tmp 784echo /* Start of settings from configure.bat. */ >>config.tmp
785rem We write USER_CFLAGS and USER_LDFLAGS starting with a space to simplify 785rem We write USER_CFLAGS and USER_LDFLAGS starting with a space to simplify
786rem processing of compiler options in w32.c:get_emacs_configuration_options 786rem processing of compiler options in w32.c:get_emacs_configuration_options
787if (%docflags%) == (Y) echo #define USER_CFLAGS " %escusercflags%">>config.tmp 787if (%docflags%) == (Y) echo #define USER_CFLAGS " %escusercflags%" >>config.tmp
788if (%doldflags%) == (Y) echo #define USER_LDFLAGS " %escuserldflags%">>config.tmp 788if (%doldflags%) == (Y) echo #define USER_LDFLAGS " %escuserldflags%" >>config.tmp
789if (%profile%) == (Y) echo #define PROFILING 1 >>config.tmp 789if (%profile%) == (Y) echo #define PROFILING 1 >>config.tmp
790if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>config.tmp 790if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>config.tmp
791if not "(%HAVE_GNUTLS%)" == "()" echo #define HAVE_GNUTLS 1 >>config.tmp 791if not "(%HAVE_GNUTLS%)" == "()" echo #define HAVE_GNUTLS 1 >>config.tmp