summaryrefslogtreecommitdiff
path: root/config.bat
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-02-26 11:27:05 +0200
committerEli Zaretskii <eliz@gnu.org>2011-02-26 11:27:05 +0200
commit945d8b4444ccea2a3c3e9ac69b679c80ee0e00a5 (patch)
tree24d998feca73ccde4d8634cad6fbc16f68bdd551 /config.bat
parent00030ef0b68cc8ce0dcb5ec8f3f95709e1066bc2 (diff)
downloademacs-945d8b4444ccea2a3c3e9ac69b679c80ee0e00a5.tar.gz
Fix the MS-DOS configury due to new gnulib modules.
config.bat: Rename stdint.in.h and sys_stat.in.h. Call depfiles.bat even if lib/deps already exist. msdos/depfiles.bat: Create a dummy .Po file only if a file by the same name does not already exist in the deps/ subdirectory.
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.bat b/config.bat
index 7ebfc74b801..4288f6537e6 100644
--- a/config.bat
+++ b/config.bat
@@ -280,17 +280,20 @@ cd lib
Rem Rename files like djtar on plain DOS filesystem would.
If Exist c++defs.h update c++defs.h cxxdefs.h
If Exist getopt.in.h update getopt.in.h getopt.in-h
-If Exist stddef.in.h update stddef.in.h stddef.in-h
If Exist stdbool.in.h update stdbool.in.h stdbool.in-h
+If Exist stddef.in.h update stddef.in.h stddef.in-h
+If Exist stdint.in.h update stdint.in.h stdint.in-h
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
If Exist time.in.h update time.in.h time.in-h
If Exist unistd.in.h update unistd.in.h unistd.in-h
sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp
sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile
rm -f makefile.tmp
+Rem Create .Po files for new files in lib/
If Not Exist deps\stamp mkdir deps
-If Not Exist deps\stamp for %%f in (*.c) do @call ..\msdos\depfiles.bat %%f
-If Not Exist deps\stamp echo deps-stamp > deps\stamp
+for %%f in (*.c) do @call ..\msdos\depfiles.bat %%f
+echo deps-stamp > deps\stamp
cd ..
rem ----------------------------------------------------------------------
Echo Configuring the lisp directory...