Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (34 sloc) 1.236 kb
47149a6 @pinard Release (now paxutils) 2.4d as of 1998-10-06
authored
1 @echo off
2 echo Configuring GNU Tar for DJGPP v2.x...
3
4 Rem Find out where the sources are
5 set XSRC=.
6 if not "%XSRC%" == "." goto SmallEnv
7 if "%1" == "" goto InPlace
8 set XSRC=%1
9 if not "%XSRC%" == "%1" goto SmallEnv
10 redir -e /dev/null update %XSRC%/configure.orig ./configure
11 if not exist configure update %XSRC%/configure ./configure
12
535329a @pinard Release 2.4h as of 1999-06-11
authored
13 :InPlace
47149a6 @pinard Release (now paxutils) 2.4d as of 1998-10-06
authored
14 Rem Update configuration files
15 echo Updating configuration scripts...
16 if not exist configure.orig update configure configure.orig
535329a @pinard Release 2.4h as of 1999-06-11
authored
17 patch -p0 -i %XSRC%/contrib/cfgdjgpp.pat -o ./configure configure.orig
18
47149a6 @pinard Release (now paxutils) 2.4d as of 1998-10-06
authored
19 Rem `configure' won't run correctly without these variables
20 set PATH_SEPARATOR=:
21 if not "%PATH_SEPARATOR%" == ":" goto SmallEnv
22 set PATH_EXPAND=y
23 if not "%PATH_EXPAND%" == "y" goto SmallEnv
24 set INSTALL=${DJDIR}/bin/ginstall -c
25 if not "%INSTALL%" == "${DJDIR}/bin/ginstall -c" goto SmallEnv
535329a @pinard Release 2.4h as of 1999-06-11
authored
26 set CONFIG_SHELL=sh
27 if not "%CONFIG_SHELL%" == "sh" goto SmallEnv
47149a6 @pinard Release (now paxutils) 2.4d as of 1998-10-06
authored
28
29 echo Running ./configure...
30 sh %XSRC%/configure --src=%XSRC% --host=i386-pc-msdosdjgpp --disable-nls
31
32 echo Done.
33 goto End
535329a @pinard Release 2.4h as of 1999-06-11
authored
34
47149a6 @pinard Release (now paxutils) 2.4d as of 1998-10-06
authored
35 Rem Protect them against too small environment size
36 :SmallEnv
535329a @pinard Release 2.4h as of 1999-06-11
authored
37 echo Your environment size is too small. Enlarge it and run me again.
38
47149a6 @pinard Release (now paxutils) 2.4d as of 1998-10-06
authored
39 :End
40 set INSTALL=
535329a @pinard Release 2.4h as of 1999-06-11
authored
41 set CONFIG_SHELL=
Something went wrong with that request. Please try again.