nt/configure.bat: Add comment about USER_(C|LD)FLAGS.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 22 Sep 2010 17:26:02 +0000 (19:26 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 22 Sep 2010 17:26:02 +0000 (19:26 +0200)
nt/configure.bat

index 74c7e1a..fc9fae4 100755 (executable)
@@ -630,6 +630,8 @@ echo. >>config.settings
 copy config.nt config.tmp\r
 echo. >>config.tmp\r
 echo /* Start of settings from configure.bat.  */ >>config.tmp\r
+rem   We write USER_CFLAGS and USER_LDFLAGS starting with a space to simplify\r
+rem   processing of compiler options in w32.c:get_emacs_configuration_options\r
 if (%docflags%) == (Y) echo #define USER_CFLAGS " %usercflags%">>config.tmp\r
 if (%doldflags%) == (Y) echo #define USER_LDFLAGS " %userldflags%">>config.tmp\r
 if (%profile%) == (Y) echo #define PROFILING 1 >>config.tmp\r