Minor fixes for MSDOS build to track latest changes.
[bpt/emacs.git] / msdos / sed3v2.inp
index 80adad4..faa5799 100644 (file)
@@ -38,7 +38,8 @@ s/-DVERSION[^ ]* //
 /^CFLAGS *=/s!=.*$!=-O2 -g!
 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
-/^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@//
+/^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
+/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
 /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
 /^ALLOCA *=/s!@ALLOCA@!!
 /^EXEEXT *=/s!@EXEEXT@!!
@@ -50,5 +51,4 @@ s!^   \./!    !
   s/movemail[^ ]* *//
 }
 /^insrcdir=/s/^.*$/\#&/
-/^      *\$(insrcdir) ||/s,\$(insrcdir) ||,command.com /c if not exist $<,
-
+/^      *\$(insrcdir) ||/s,\$(insrcdir) ||,command.com /c if not exist $(<F),