]> code.delx.au - gnu-emacs/blobdiff - config.bat
Split bsdos2 and bsdos2-1.
[gnu-emacs] / config.bat
index cf3fa8c9bafa5553065b94fe4052c8b4a2bdba71..24cfdb17c7d97080def296562d53994b28d4d983 100644 (file)
@@ -194,7 +194,21 @@ cd ..
 :oldx1\r
 rem   ----------------------------------------------------------------------\r
 Echo Configuring the main directory...\r
-If "%DJGPP_VER%" == "2" copy msdos\mainmake.v2 makefile >nul\r
+If "%DJGPP_VER%" == "1" goto mainv1\r
+Echo Looking for the GDB init file...\r
+If Exist src\_gdbinit goto gdbinitOk\r
+Echo ERROR:\r
+Echo I cannot find the GDB init file.  It was called ".gdbinit" in\r
+Echo the Emacs distribution, but was probably renamed to some other\r
+Echo name without the leading dot when you untarred the archive.\r
+Echo It should be in the "src/" subdirectory.  Please make sure this\r
+Echo file exists and is called "_gdbinit" with a leading underscore.\r
+Echo Then run CONFIG.BAT again with the same arguments you did now.\r
+goto End\r
+:gdbinitOk\r
+Echo Looking for the GDB init file...found\r
+copy msdos\mainmake.v2 makefile >nul\r
+:mainv1\r
 If "%DJGPP_VER%" == "1" copy msdos\mainmake makefile >nul\r
 rem   ----------------------------------------------------------------------\r
 :end\r