comparison nt/configure.bat @ 35101:73acaa7d1cb9

Be careful not to add trailing spaces when outputting to config.settings.
author Andrew Innes <andrewi@gnu.org>
date Sat, 06 Jan 2001 21:16:12 +0000
parents eb8bb73d0c23
children 8e36e09f6fed
comparison
equal deleted inserted replaced
35100:dc7adc956a5e 35101:73acaa7d1cb9
233 if %COMPILER% == cl set MAKECMD=nmake 233 if %COMPILER% == cl set MAKECMD=nmake
234 234
235 rem Pass on chosen settings to makefiles. 235 rem Pass on chosen settings to makefiles.
236 echo # Start of settings from configure.bat >config.settings 236 echo # Start of settings from configure.bat >config.settings
237 echo COMPILER=%COMPILER% >>config.settings 237 echo COMPILER=%COMPILER% >>config.settings
238 if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings 238 if (%nodebug%) == (Y) echo NODEBUG=1>>config.settings
239 if (%noopt%) == (Y) echo NOOPT=1 >>config.settings 239 if (%noopt%) == (Y) echo NOOPT=1>>config.settings
240 if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings 240 if (%nocygwin%) == (Y) echo NOCYGWIN=1>>config.settings
241 if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix% >>config.settings 241 if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings
242 if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags% >>config.settings 242 if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings
243 if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags% >>config.settings 243 if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings
244 echo # End of settings from configure.bat >>config.settings 244 echo # End of settings from configure.bat>>config.settings
245 echo. >>config.settings 245 echo. >>config.settings
246 246
247 copy config.nt ..\src\config.h 247 copy config.nt ..\src\config.h
248 if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h 248 if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h
249 if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h 249 if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h