(Ffile_writable_p): Use stat to test for existence.
[bpt/emacs.git] / config.bat
index d2a665d..decbd54 100644 (file)
@@ -29,7 +29,9 @@ rem     line length limit.
 rem   + rm, mv, chmod (From GNU file utilities).\r
 rem   + sed.\r
 rem\r
-rem   You must install in directory c:/emacs or change this script.\r
+rem   You must install in directory c:/emacs or change this script, the\r
+rem   files msdos/sed*.inp, and lisp/dos-fns.el.  (The latter must be\r
+rem   recompiled.)\r
 rem   ----------------------------------------------------------------------\r
 if not "%2" == "" goto usage\r
 if "%1" == "msdos" goto msdos\r
@@ -80,7 +82,7 @@ goto end
 \r
 rem   Create "paths.h"\r
 rm -f paths.h\r
-sed -e "s!/lib/emacs!!" -e "s!/usr/local!c:/emacs!" -e "s!/data!/etc!" <%PATHSH% >paths.h\r
+sed -f ../msdos/sed4.inp <%PATHSH% >paths.h\r
 \r
 rem   Create "config.h"\r
 rm -f config.h config.tmp\r