Fix docstring of other-window.
[bpt/emacs.git] / config.bat
index cbbcf0c..aa2a3a4 100644 (file)
@@ -156,9 +156,11 @@ rm -f epaths.tmp
 \r
 rem   Create "config.h"\r
 rm -f config.h2 config.tmp\r
-sed -e '' ../autogen/config.in > config.tmp\r
+if exist config.in sed -e '' config.in > config.tmp\r
+if exist ..\autogen\config.in sed -e '' ../autogen/config.in > config.tmp\r
 if "%X11%" == "" goto src4\r
-sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp\r
+if exist config.in sed -f ../msdos/sed2x.inp < config.in > config.tmp\r
+if exist ..\autogen\config.in sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp\r
 :src4\r
 sed -f ../msdos/sed2v2.inp <config.tmp >config.h2\r
 Rem See if DECL_ALIGN can be supported with this GCC\r
@@ -290,7 +292,8 @@ If Exist stdlib.in.h update stdlib.in.h stdlib.in-h
 If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h\r
 If Exist time.in.h update time.in.h time.in-h\r
 If Exist unistd.in.h update unistd.in.h unistd.in-h\r
-sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp\r
+If Exist Makefile.in sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp\r
+If Exist ..\autogen\Makefile.in sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp\r
 sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile\r
 rm -f makefile.tmp\r
 Rem Create .Po files for new files in lib/\r