aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-01-31 08:21:55 +0000
committerEli Zaretskii2001-01-31 08:21:55 +0000
commit28e164dd0676b5cb1e8cc56217bdec9b85871692 (patch)
tree82a141ae055bf91fa8c7773c201183709781be26
parent8f289accc6cfcdf1eaa86b1a11719742c8afe23f (diff)
downloademacs-28e164dd0676b5cb1e8cc56217bdec9b85871692.tar.gz
emacs-28e164dd0676b5cb1e8cc56217bdec9b85871692.zip
Make sure redirection is preceeded by a blank, to
avoid problems with "1>>foo" when CMD.EXE is the shell, which eats up the "1" part. From Rob Giardina <rob@criticalpointsoftware.com>.
-rwxr-xr-xnt/configure.bat22
1 files changed, 11 insertions, 11 deletions
diff --git a/nt/configure.bat b/nt/configure.bat
index 11697a4a645..edbafe497aa 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -200,8 +200,8 @@ rem of w32api-xxx.zip from Anders Norlander since 1999-11-18 at least.
200rem 200rem
201echo Checking whether W32 API headers are too old... 201echo Checking whether W32 API headers are too old...
202echo #include "windows.h" >junk.c 202echo #include "windows.h" >junk.c
203echo test(PIMAGE_NT_HEADERS pHeader)>>junk.c 203echo test(PIMAGE_NT_HEADERS pHeader) >>junk.c
204echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);}>>junk.c 204echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);} >>junk.c
205gcc -c junk.c 205gcc -c junk.c
206if exist junk.o goto gccOk 206if exist junk.o goto gccOk
207 207
@@ -235,18 +235,18 @@ if %COMPILER% == cl set MAKECMD=nmake
235rem Pass on chosen settings to makefiles. 235rem Pass on chosen settings to makefiles.
236echo # Start of settings from configure.bat >config.settings 236echo # Start of settings from configure.bat >config.settings
237echo COMPILER=%COMPILER% >>config.settings 237echo COMPILER=%COMPILER% >>config.settings
238if (%nodebug%) == (Y) echo NODEBUG=1>>config.settings 238if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings
239if (%noopt%) == (Y) echo NOOPT=1>>config.settings 239if (%noopt%) == (Y) echo NOOPT=1 >>config.settings
240if (%nocygwin%) == (Y) echo NOCYGWIN=1>>config.settings 240if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings
241if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings 241if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix% >>config.settings
242if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings 242if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags% >>config.settings
243if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings 243if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags% >>config.settings
244echo # End of settings from configure.bat>>config.settings 244echo # End of settings from configure.bat >>config.settings
245echo. >>config.settings 245echo. >>config.settings
246 246
247copy config.nt ..\src\config.h 247copy config.nt ..\src\config.h
248if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h 248if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%" >>..\src\config.h
249if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h 249if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%" >>..\src\config.h
250copy paths.h ..\src\epaths.h 250copy paths.h ..\src\epaths.h
251 251
252copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile 252copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile