source: vendor/patch/current/pc/djgpp/configure.bat

Last change on this file was 3444, checked in by bird, 18 years ago

patch 2.5.9

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