Line | |
---|
1 | @echo off
|
---|
2 | Rem Configure patch for DJGPP v2.
|
---|
3 | Rem $Id: configure.bat,v 1.4 1997/06/17 06:52:12 eggert Exp $
|
---|
4 |
|
---|
5 | Rem The DOS shell has fixed-size environment storage.
|
---|
6 | Rem When the environment is full, the shell prints
|
---|
7 | Rem "Out of environment space" and truncates the string at will.
|
---|
8 | Rem Since people often ignore these messages,
|
---|
9 | Rem test whether the environment variable got the correct value.
|
---|
10 |
|
---|
11 | Rem Where is our source directory?
|
---|
12 | set srcdir=.
|
---|
13 | if not "%srcdir%" == "." goto SmallEnv
|
---|
14 | if not "%1" == "" set srcdir=%1
|
---|
15 | if not "%1" == "" if not "%srcdir%" == "%1" goto SmallEnv
|
---|
16 |
|
---|
17 | Rem Create Makefile
|
---|
18 | sed -f %srcdir%/pc/djgpp/configure.sed -e "s,@srcdir@,%srcdir%,g" %srcdir%/Makefile.in >Makefile
|
---|
19 | sed -n -e "/^VERSION/p" %srcdir%/configure.in >>Makefile
|
---|
20 |
|
---|
21 | goto Exit
|
---|
22 |
|
---|
23 | :SmallEnv
|
---|
24 | echo Your environment size is too small. Please enlarge it and run me again.
|
---|
25 |
|
---|
26 | :Exit
|
---|
27 | set srcdir=
|
---|
Note:
See
TracBrowser
for help on using the repository browser.