2 Rem Configure Bison for DJGPP.
4 Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
5 Rem format, or else stock DOS/Windows shells will refuse to run it.
7 Rem Copyright (C) 2005, 2006 Free Software Foundation, Inc.
9 Rem This program is free software; you can redistribute it and/or modify
10 Rem it under the terms of the GNU General Public License as published by
11 Rem the Free Software Foundation; either version 2, or (at your option)
12 Rem any later version.
14 Rem This program is distributed in the hope that it will be useful,
15 Rem but WITHOUT ANY WARRANTY; without even the implied warranty of
16 Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 Rem GNU General Public License for more details.
19 Rem You should have received a copy of the GNU General Public License
20 Rem along with this program; if not, write to the Free Software Foundation,
21 Rem Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 echo Configuring Bison
for DJGPP v2.x...
25 Rem The SmallEnv tests protect against fixed and too small size
26 Rem of the environment in stock DOS shell.
28 Rem Find out if NLS is wanted or not,
29 Rem if dependency-tracking is wanted or not,
30 Rem if caching is wanted or not
31 Rem and where the sources are.
32 Rem We always default to NLS support,
33 Rem no dependency tracking
34 Rem and to in place configuration.
37 if not "%NLS%" == "enabled" goto SmallEnv
39 if not "%CACHING%" == "enabled" goto SmallEnv
40 set DEPENDENCY_TRACKING
=disabled
41 if not "%DEPENDENCY_TRACKING%" == "disabled" goto SmallEnv
42 set LIBICONV_PREFIX
=disabled
43 if not "%LIBICONV_PREFIX%" == "disabled" goto SmallEnv
44 set LIBINTL_PREFIX
=disabled
45 if not "%LIBINTL_PREFIX%" == "disabled" goto SmallEnv
47 if not "%HTML%" == "enabled" goto SmallEnv
49 if not "%XSRC%" == "." goto SmallEnv
51 Rem Loop over all arguments.
52 Rem Special arguments are: NLS, XSRC, CACHE, STATIC_LIBS, LIBICONV_PREFIX, LIBINTL_PREFIX and DEPS.
53 Rem All other arguments are stored into ARGS.
55 if "%1" == "nls" goto NextArgument
56 if "%1" == "NLS" goto NextArgument
57 if "%1" == "no-nls" goto NoNLS
58 if "%1" == "no-NLS" goto NoNLS
59 if "%1" == "NO-NLS" goto NoNLS
62 if "%1" == "no-nls" set NLS
=disabled
63 if "%1" == "no-NLS" set NLS
=disabled
64 if "%1" == "NO-NLS" set NLS
=disabled
65 if not "%NLS%" == "disabled" goto SmallEnv
68 if "%1" == "cache" goto NextArgument
69 if "%1" == "CACHE" goto NextArgument
70 if "%1" == "no-cache" goto NoCaching
71 if "%1" == "no-CACHE" goto NoCaching
72 if "%1" == "NO-CACHE" goto NoCaching
75 if "%1" == "no-cache" set CACHING
=disabled
76 if "%1" == "no-CACHE" set CACHING
=disabled
77 if "%1" == "NO-CACHE" set CACHING
=disabled
78 if not "%CACHING%" == "disabled" goto SmallEnv
81 if "%1" == "no-dep" goto NextArgument
82 if "%1" == "no-DEP" goto NextArgument
83 if "%1" == "NO-DEP" goto NextArgument
84 if "%1" == "dep" goto DependecyTraking
85 if "%1" == "DEP" goto DependecyTraking
86 goto LibiconvPrefixOption
88 if "%1" == "dep" set DEPENDENCY_TRACKING
=enabled
89 if "%1" == "DEP" set DEPENDENCY_TRACKING
=enabled
90 if not "%DEPENDENCY_TRACKING%" == "enabled" goto SmallEnv
93 if "%1" == "no-libiconvprefix" goto NextArgument
94 if "%1" == "no-LIBICONVPREFIX" goto NextArgument
95 if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
96 if "%1" == "libiconvprefix" goto WithLibiconvPrefix
97 if "%1" == "LIBICONVPREFIX" goto WithLibiconvPrefix
98 goto LibintlPrefixOption
100 if "%1" == "libiconvprefix" set LIBICONV_PREFIX
=enabled
101 if "%1" == "LIBICONVPREFIX" set LIBICONV_PREFIX
=enabled
102 if not "%LIBICONV_PREFIX%" == "enabled" goto SmallEnv
105 if "%1" == "no-libiconvprefix" goto NextArgument
106 if "%1" == "no-LIBICONVPREFIX" goto NextArgument
107 if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
108 if "%1" == "libintlprefix" goto _WithLibintlPrefix
109 if "%1" == "LIBINTLPREFIX" goto _WithLibintlPrefix
112 if "%1" == "libintlprefix" set LIBINTL_PREFIX
=enabled
113 if "%1" == "LIBINTLPREFIX" set LIBINTL_PREFIX
=enabled
114 if not "%LIBINTL_PREFIX%" == "enabled" goto SmallEnv
116 if "%1" == "withhtml" goto NextArgument
117 if "%1" == "withHTML" goto NextArgument
118 if "%1" == "WITHHTML" goto NextArgument
119 if "%1" == "withouthtml" goto _WithoutHTML
120 if "%1" == "withoutHTML" goto _WithoutHTML
121 if "%1" == "WITHOUTHTML" goto _WithoutHTML
124 if "%1" == "withouthtml" set HTML
=disabled
125 if "%1" == "withoutHTML" set HTML
=disabled
126 if "%1" == "WITHOUTHTML" set HTML
=disabled
127 if not "%HTML%" == "disabled" goto SmallEnv
130 echo %1 | grep
-q
"/"
131 if errorlevel 1 goto CollectArgument
133 if not "%XSRC%" == "%1" goto SmallEnv
137 if not "%_ARGS%" == "%ARGS% %1" if not "%_ARGS%" == "%ARGS%%1" goto SmallEnv
138 echo %_ARGS% | grep
-q
"[^ ]"
139 if not errorlevel 0 set ARGS
=%_ARGS%
143 if not "%1" == "" goto ArgLoop
145 Rem Create an arguments file for the configure script.
146 echo --srcdir
=%XSRC% > arguments
147 if "%CACHING%" == "enabled" echo --cache-file
=%XSRC%/djgpp
/config.
cache >> arguments
148 if "%DEPENDENCY_TRACKING%" == "enabled" echo --enable
-dependency
-tracking
>> arguments
149 if "%DEPENDENCY_TRACKING%" == "disabled" echo --disable
-dependency
-tracking
>> arguments
150 if "%LIBICONV_PREFIX%" == "enabled" echo --with
-libiconv
-prefix
>> arguments
151 if "%LIBICONV_PREFIX%" == "disabled" echo --without
-libiconv
-prefix
>> arguments
152 if "%LIBINTL_PREFIX%" == "enabled" echo --with
-libintl
-prefix
>> arguments
153 if "%LIBINTL_PREFIX%" == "disabled" echo --without
-libintl
-prefix
>> arguments
154 if "%HTML%" == "enabled" echo --enable
-html
>> arguments
155 if "%HTML%" == "disabled" echo --disable
-html
>> arguments
156 if not "%ARGS%" == "" echo %ARGS% >> arguments
159 set DEPENDENCY_TRACKING
=
161 if "%XSRC%" == "." goto InPlace
164 redir
-e
/dev
/null update
%XSRC%/configure.orig .
/configure
166 if errorlevel 1 update
%XSRC%/configure .
/configure
169 Rem Update configuration files
170 echo Updating configuration scripts...
171 test
-f .
/configure.orig
172 if errorlevel 1 update configure configure.orig
173 sed
-f
%XSRC%/djgpp
/config.sed configure.orig
> configure
174 if errorlevel 1 goto SedError
176 Rem Make sure they have a config.site file
177 set CONFIG_SITE
=%XSRC%/djgpp
/config.site
178 if not "%CONFIG_SITE%" == "%XSRC%/djgpp/config.site" goto SmallEnv
180 Rem Make sure crucial file names are not munged by unpacking
181 test
-f
%XSRC%/po
/Makefile.in.in
182 if not errorlevel 1 mv
-f
%XSRC%/po
/Makefile.in.in
%XSRC%/po
/Makefile.in
-in
183 test
-f
%XSRC%/po
/Makefile.in
-in
184 if errorlevel 1 mv
-f
%XSRC%/po
/Makefile.in
%XSRC%/po
/Makefile.in
-in
185 test
-f
%XSRC%/runtime
-po
/Makefile.in.in
186 if not errorlevel 1 mv
-f
%XSRC%/runtime
-po
/Makefile.in.in
%XSRC%/runtime
-po
/Makefile.in
-in
187 test
-f
%XSRC%/runtime
-po
/Makefile.in
-in
188 if errorlevel 1 mv
-f
%XSRC%/runtime
-po
/Makefile.in
%XSRC%/runtime
-po
/Makefile.in
-in
189 test
-f
%XSRC%/data
/c
++.m4
190 if not errorlevel 1 mv
-f
%XSRC%/data
/c
++.m4
%XSRC%/data
/cxx.m4
191 test
-f
%XSRC%/data
/cxx.m4
192 if errorlevel 1 mv
-f
%XSRC%/data
/cpp.m4
%XSRC%/data
/cxx.m4
194 test
-f
%XSRC%/src
/c
-scan
-gram.c
195 if not errorlevel 1 goto scan_skel_c_Test
196 test
-f
%XSRC%/src
/scan
-gram
-c.c
197 if not errorlevel 1 mv
-f
%XSRC%/src
/scan
-gram
-c.c
%XSRC%/src
/c
-scan
-gram.c
199 test
-f
%XSRC%/src
/c
-scan
-skel.c
200 if not errorlevel 1 goto FixFiles
201 test
-f
%XSRC%/src
/scan
-skel
-c.c
202 if not errorlevel 1 mv
-f
%XSRC%/src
/scan
-skel
-c.c
%XSRC%/src
/c
-scan
-skel.c
205 Rem Fix data/lalr1.cc and data/location.cc to reflect the renaming of c++.m4
206 sed
"s/c++\.m4/cxx.m4/" %XSRC%/data
/lalr1.cc
> lalr1.cc
207 if errorlevel 1 goto lalr1_ccFileError
208 mv .
/lalr1.cc
%XSRC%/data
/lalr1.cc
209 sed
"s/c++\.m4/cxx.m4/" %XSRC%/data
/location.cc
> location.cc
210 if errorlevel 1 goto location.ccFileError
211 mv .
/location.cc
%XSRC%/data
/location.cc
213 Rem Define DJGPP specific defs in config.hin
214 echo Editing config.hin...
215 test
-f
%XSRC%/config_h.orig
216 if errorlevel 1 update
%XSRC%/config.hin
%XSRC%/config_h.orig
217 sed
-f
%XSRC%/djgpp
/config_h.sed
%XSRC%/config_h.orig
> config.hin
218 if errorlevel 1 goto SedError2
219 mv
-f config.hin
%XSRC%/config.hin
222 Rem Fixing ilicit testsuite file name.
223 test
-f
%XSRC%/tests
/c
++.at
224 if not errorlevel 1 mv
-f
%XSRC%/tests
/c
++.at
%XSRC%/tests
/cxx.at
226 Rem Fixing ilicit calc++ file names in the calc++ directory.
227 test
-d
%XSRC%/examples
/calc
++
228 if not errorlevel 1 mv
-f
%XSRC%/examples
/calc
++ %XSRC%/examples
/calcxx
229 test
-d
%XSRC%/examples
/calcxx
230 if errorlevel 1 mv
-f
%XSRC%/examples
/calcpp
%XSRC%/examples
/calcxx
231 test
-f
%XSRC%/examples
/calcxx
/calc
++-scanner.cc
232 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-scanner.cc
%XSRC%/examples
/calcxx
/calcxx
-scanner.cc
233 test
-f
%XSRC%/examples
/calcxx
/calcxx
-scanner.cc
234 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-scanner.cc
%XSRC%/examples
/calcxx
/calcxx
-scanner.cc
235 test
-f
%XSRC%/examples
/calcxx
/calc
++-scanner.ll
236 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-scanner.ll
%XSRC%/examples
/calcxx
/calcxx
-scanner.ll
237 test
-f
%XSRC%/examples
/calcxx
/calcxx
-scanner.ll
238 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-scanner.ll
%XSRC%/examples
/calcxx
/calcxx
-scanner.ll
239 test
-f
%XSRC%/examples
/calcxx
/calc
++-driver.cc
240 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-driver.cc
%XSRC%/examples
/calcxx
/calcxx
-driver.cc
241 test
-f
%XSRC%/examples
/calcxx
/calcxx
-driver.cc
242 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-driver.cc
%XSRC%/examples
/calcxx
/calcxx
-driver.cc
243 test
-f
%XSRC%/examples
/calcxx
/calc
++-driver.hh
244 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-driver.hh
%XSRC%/examples
/calcxx
/calcxx
-driver.hh
245 test
-f
%XSRC%/examples
/calcxx
/calcxx
-driver.hh
246 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-driver.hh
%XSRC%/examples
/calcxx
/calcxx
-driver.hh
247 test
-f
%XSRC%/examples
/calcxx
/calc
++-parser.cc
248 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-parser.cc
%XSRC%/examples
/calcxx
/calcxx
-parser.cc
249 test
-f
%XSRC%/examples
/calcxx
/calcxx
-parser.cc
250 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-parser.cc
%XSRC%/examples
/calcxx
/calcxx
-parser.cc
251 test
-f
%XSRC%/examples
/calcxx
/calc
++-parser.hh
252 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-parser.hh
%XSRC%/examples
/calcxx
/calcxx
-parser.hh
253 test
-f
%XSRC%/examples
/calcxx
/calcxx
-parser.hh
254 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-parser.hh
%XSRC%/examples
/calcxx
/calcxx
-parser.hh
255 test
-f
%XSRC%/examples
/calcxx
/calc
++-parser.stamp
256 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-parser.stamp
%XSRC%/examples
/calcxx
/calcxx
-parser.stamp
257 test
-f
%XSRC%/examples
/calcxx
/calcxx
-parser.stamp
258 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-parser.stamp
%XSRC%/examples
/calcxx
/calcxx
-parser.stamp
259 test
-f
%XSRC%/examples
/calcxx
/calc
++-parser.yy
260 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++-parser.yy
%XSRC%/examples
/calcxx
/calcxx
-parser.yy
261 test
-f
%XSRC%/examples
/calcxx
/calcxx
-parser.yy
262 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp
-parser.yy
%XSRC%/examples
/calcxx
/calcxx
-parser.yy
263 test
-f
%XSRC%/examples
/calcxx
/calc
++.cc
264 if not errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calc
++.cc
%XSRC%/examples
/calcxx
/calcxx.cc
265 test
-f
%XSRC%/examples
/calcxx
/calcxx.cc
266 if errorlevel 1 mv
-f
%XSRC%/examples
/calcxx
/calcpp.cc
%XSRC%/examples
/calcxx
/calcxx.cc
268 Rem Fixing #include lines in calcxx files.
269 sed
"/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx.cc
> calcxx.cc
270 if errorlevel 1 goto calcxxFileError
271 mv .
/calcxx.cc
%XSRC%/examples
/calcxx
/calcxx.cc
272 sed
"/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-driver.cc
> calcxx
-driver.cc
273 if errorlevel 1 goto calcxxFileError
274 mv .
/calcxx
-driver.cc
%XSRC%/examples
/calcxx
/calcxx
-driver.cc
275 sed
"/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-driver.hh
> calcxx
-driver.hh
276 if errorlevel 1 goto calcxxFileError
277 mv .
/calcxx
-driver.hh
%XSRC%/examples
/calcxx
/calcxx
-driver.hh
278 sed
"/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-parser.cc
> calcxx
-parser.cc
279 if errorlevel 1 goto calcxxFileError
280 mv .
/calcxx
-parser.cc
%XSRC%/examples
/calcxx
/calcxx
-parser.cc
281 sed
"/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-parser.hh
> calcxx
-parser.hh
282 if errorlevel 1 goto calcxxFileError
283 mv .
/calcxx
-parser.hh
%XSRC%/examples
/calcxx
/calcxx
-parser.hh
284 :sed "/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-parser.yy
> calcxx
-parser.yy
285 :if errorlevel 1 goto calcxxFileError
286 :mv .
/calcxx
-parser.yy
%XSRC%/examples
/calcxx
/calcxx
-parser.yy
287 sed
"/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-scanner.cc
> calcxx
-scanner.cc
288 if errorlevel 1 goto calcxxFileError
289 mv .
/calcxx
-scanner.cc
%XSRC%/examples
/calcxx
/calcxx
-scanner.cc
290 :sed "/#[ ]*include/s/++/xx/" %XSRC%/examples
/calcxx
/calcxx
-scanner.ll
> calcxx
-scanner.ll
291 :if errorlevel 1 goto calcxxFileError
292 :mv .
/calcxx
-scanner.ll
%XSRC%/examples
/calcxx
/calcxx
-scanner.ll
293 sed
"s/calc++/calcxx/" %XSRC%/examples
/calcxx
/test
> test
294 if errorlevel 1 goto calcxxFileError
295 mv .
/test
%XSRC%/examples
/calcxx
/test
298 Rem Fixing the scanner files to make file names 8.3 valid.
299 Rem Use only if you want to change the scan-gram.l and scan-skel.l files.
300 : sed
"/outfile=/s/\.yy/yy/" %XSRC%/src
/scan
-gram.l
> scan
-gram.l
301 : if errorlevel 1 goto ScannerFileError
302 : mv .
/scan
-gram.l
%XSRC%/src
/scan
-gram.l
303 : sed
"/outfile=/s/\.yy/yy/" %XSRC%/src
/scan
-skel.l
> scan
-skel.l
304 : if errorlevel 1 goto ScannerFileError
305 : mv .
/scan
-skel.l
%XSRC%/src
/scan
-skel.l
308 Rem This is required because DOS/Windows are case-insensitive
309 Rem to file names, and "make install" will do nothing if Make
310 Rem finds a file called `install'.
311 if exist INSTALL
ren INSTALL INSTALL.txt
313 Rem Set SHELL to a sane default or some configure tests stop working
314 Rem if the package is configured across partitions.
315 if not "%SHELL%" == "" goto HomeName
317 if not "%SHELL%" == "/bin/sh" goto SmallEnv
318 echo No
SHELL found in the environment
, using default value
321 Rem Set HOME to a sane default so configure stops complaining.
322 if not "%HOME%" == "" goto HostName
323 set HOME
=%XSRC%/djgpp
324 if not "%HOME%" == "%XSRC%/djgpp" goto SmallEnv
325 echo No HOME found in the environment
, using default value
328 Rem Set HOSTNAME so it shows in config.status
329 if not "%HOSTNAME%" == "" goto hostdone
330 if "%windir%" == "" goto msdos
332 if not "%OS%" == "MS-Windows" goto SmallEnv
336 if not "%OS%" == "MS-DOS" goto SmallEnv
338 if not "%USERNAME%" == "" goto haveuname
339 if not "%USER%" == "" goto haveuser
340 echo No USERNAME and no USER found in the environment
, using default values
341 set HOSTNAME
=Unknown PC
342 if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv
345 set HOSTNAME
=%USER%'s PC
346 if not "%HOSTNAME%" == "%USER%'s PC
" goto SmallEnv
349 set HOSTNAME=%USERNAME%'s PC
350 if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv
352 set _HOSTNAME=%HOSTNAME%, %OS%
353 if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv
354 set HOSTNAME=%_HOSTNAME%
359 Rem install-sh is required by the configure script but clashes with the
360 Rem various Makefile install-foo targets, so we MUST have it before the
361 Rem script runs and rename it afterwards
362 test -f %XSRC%/install-sh
363 if not errorlevel 1 goto NoRen0
364 test -f %XSRC%/install-sh.sh
365 if not errorlevel 1 mv -f %XSRC%/install-sh.sh %XSRC%/install-sh
368 if "%NLS%" == "disabled" goto WithoutNLS
371 Rem Check for the needed libraries and binaries.
372 test -x /dev/env/DJDIR/bin/msgfmt.exe
373 if errorlevel 1 goto MissingNLSTools
374 test -x /dev/env/DJDIR/bin/xgettext.exe
375 if errorlevel 1 goto MissingNLSTools
376 test -f /dev/env/DJDIR/include/libcharset.h
377 if errorlevel 1 goto MissingNLSTools
378 test -f /dev/env/DJDIR/lib/libcharset.a
379 if errorlevel 1 goto MissingNLSTools
380 test -f /dev/env/DJDIR/include/iconv.h
381 if errorlevel 1 goto MissingNLSTools
382 test -f /dev/env/DJDIR/lib/libiconv.a
383 if errorlevel 1 goto MissingNLSTools
384 test -f /dev/env/DJDIR/include/libintl.h
385 if errorlevel 1 goto MissingNLSTools
386 test -f /dev/env/DJDIR/lib/libintl.a
387 if errorlevel 1 goto MissingNLSTools
389 Rem Recreate the files in the %XSRC%/po subdir with our ported tools.
390 redir -e /dev/null rm %XSRC%/po/*.gmo
391 redir -e /dev/null rm %XSRC%/po/bison.pot
392 redir -e /dev/null rm %XSRC%/po/cat-id-tbl.c
393 redir -e /dev/null rm %XSRC%/po/stamp-cat-id
395 Rem Update the arguments file for the configure script.
396 Rem We prefer without-included-gettext because libintl.a from gettext package
397 Rem is the only one that is garanteed to have been ported to DJGPP.
398 echo --enable-nls --without-included-gettext >> arguments
399 goto ConfigurePackage
402 echo Needed libs/tools for NLS not found. Configuring without NLS.
404 Rem Update the arguments file for the configure script.
405 echo --disable-nls >> arguments
408 echo Running the ./configure script...
409 sh ./configure @arguments
410 if errorlevel 1 goto CfgError
416 echo ./data/lalr1.cc file editing failed!
419 :location_ccFileError
420 echo ./data/location.cc file editing failed!
424 echo ./examples/calcxx file editing failed!
428 echo ./scanner file editing failed!
432 echo ./configure script editing failed!
436 echo ./config.hin editing failed!
440 echo ./configure script exited abnormally!
444 echo Your environment size is too small. Enlarge it and run me again.
445 echo Configuration NOT done!
448 test -f %XSRC%/install-sh.sh
449 if not errorlevel 1 goto NoRen1
450 test -f %XSRC%/install-sh
451 if not errorlevel 1 mv -f %XSRC%/install-sh %XSRC%/install-sh.sh
453 if "%SHELL%" == "/bin/sh" set SHELL=
454 if "%HOME%" == "%XSRC%/djgpp" set HOME=
460 set DEPENDENCY_TRACKING=