Changeset 1993 for trunk/src/kmk/configure.bat
- Timestamp:
- Oct 29, 2008, 1:37:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/configure.bat
-
Property svn:eol-style
changed from
native
toCRLF
r503 r1993 1 <<<<<<< .working 1 2 @echo off 2 3 rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, … … 61 62 :End 62 63 set XRSC= 64 ======= 65 @echo off 66 rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 67 rem 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 68 rem This file is part of GNU Make. 69 rem 70 rem GNU Make is free software; you can redistribute it and/or modify it under 71 rem the terms of the GNU General Public License as published by the Free 72 rem Software Foundation; either version 3 of the License, or (at your option) 73 rem any later version. 74 rem 75 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT 76 rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 77 rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for. 78 rem more details. 79 rem 80 rem You should have received a copy of the GNU General Public License along 81 rem with this program. If not, see <http://www.gnu.org/licenses/>. 82 83 echo Configuring MAKE for DJGPP 84 85 rem The SmallEnv trick protects against too small environment block, 86 rem in which case the values will be truncated and the whole thing 87 rem goes awry. COMMAND.COM will say "Out of environment space", but 88 rem many people don't care, so we force them to care by refusing to go. 89 90 rem Where is the srcdir? 91 set XSRC=. 92 if not "%XSRC%"=="." goto SmallEnv 93 if "%1%"=="" goto SrcDone 94 set XSRC=%1 95 if not "%XSRC%"=="%1" goto SmallEnv 96 97 :SrcDone 98 99 update %XSRC%/configh.dos ./config.h 100 101 rem Do they have Make? 102 redir -o junk.$$$ -eo make -n -f NUL 103 rem REDIR will return 1 if it cannot run Make. 104 rem If it can run Make, it will usually return 2, 105 rem but 0 is also OK with us. 106 if errorlevel 2 goto MakeOk 107 if not errorlevel 1 goto MakeOk 108 if exist junk.$$$ del junk.$$$ 109 echo No Make program found--use DOSBUILD.BAT to build Make. 110 goto End 111 112 rem They do have Make. Generate the Makefile. 113 114 :MakeOk 115 del junk.$$$ 116 update %XSRC%/Makefile.DOS ./Makefile 117 echo Done. 118 if not "%XSRC%"=="." echo Invoke Make thus: "make srcdir=%XSRC%" 119 goto End 120 121 :SmallEnv 122 echo Your environment is too small. Please enlarge it and run me again. 123 124 :End 125 set XRSC= 126 >>>>>>> .merge-right.r1992 -
Property svn:eol-style
changed from
Note:
See TracChangeset
for help on using the changeset viewer.