rem\r
echo Checking whether W32 API headers are too old...\r
echo #include "windows.h" >junk.c\r
-echo test(PIMAGE_NT_HEADERS pHeader)>>junk.c\r
-echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);}>>junk.c\r
+echo test(PIMAGE_NT_HEADERS pHeader) >>junk.c\r
+echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);} >>junk.c\r
gcc -c junk.c\r
if exist junk.o goto gccOk\r
\r
rem Pass on chosen settings to makefiles.\r
echo # Start of settings from configure.bat >config.settings\r
echo COMPILER=%COMPILER% >>config.settings\r
-if (%nodebug%) == (Y) echo NODEBUG=1>>config.settings\r
-if (%noopt%) == (Y) echo NOOPT=1>>config.settings\r
-if (%nocygwin%) == (Y) echo NOCYGWIN=1>>config.settings\r
-if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings\r
-if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings\r
-if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings\r
-echo # End of settings from configure.bat>>config.settings\r
+if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings\r
+if (%noopt%) == (Y) echo NOOPT=1 >>config.settings\r
+if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings\r
+if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix% >>config.settings\r
+if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags% >>config.settings\r
+if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags% >>config.settings\r
+echo # End of settings from configure.bat >>config.settings\r
echo. >>config.settings\r
\r
copy config.nt ..\src\config.h\r
-if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h\r
-if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h\r
+if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%" >>..\src\config.h\r
+if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%" >>..\src\config.h\r
copy paths.h ..\src\epaths.h\r
\r
copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile\r