1999-12-02 02:42:23 -05:00
|
|
|
@echo off
|
|
|
|
rem Configure batch file for `Wget' utility
|
|
|
|
rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
rem This program is free software; you can redistribute it and/or modify
|
|
|
|
rem it under the terms of the GNU General Public License as published by
|
|
|
|
rem the Free Software Foundation; either version 2 of the License, or
|
|
|
|
rem (at your option) any later version.
|
|
|
|
|
|
|
|
rem This program is distributed in the hope that it will be useful,
|
|
|
|
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
rem GNU General Public License for more details.
|
|
|
|
|
|
|
|
rem You should have received a copy of the GNU General Public License
|
|
|
|
rem along with this program; if not, write to the Free Software
|
|
|
|
rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
cls
|
|
|
|
if .%1 == .--borland goto :borland
|
|
|
|
if .%1 == .--msvc goto :msvc
|
2001-12-19 13:23:10 -05:00
|
|
|
if .%1 == .--watcom goto :watcom
|
2002-03-19 13:20:01 -05:00
|
|
|
goto :usage
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
:msvc
|
|
|
|
copy windows\config.h.ms src\config.h > nul
|
|
|
|
copy windows\Makefile.top Makefile > nul
|
|
|
|
copy windows\Makefile.src src\Makefile > nul
|
|
|
|
copy windows\Makefile.doc doc\Makefile > nul
|
|
|
|
|
|
|
|
echo Type NMAKE to start compiling.
|
|
|
|
echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
|
|
|
|
echo and then NMAKE.
|
|
|
|
goto :end
|
|
|
|
|
|
|
|
:borland
|
|
|
|
copy windows\config.h.bor src\config.h > nul
|
|
|
|
copy windows\Makefile.top.bor Makefile > nul
|
|
|
|
copy windows\Makefile.src.bor src\Makefile > nul
|
|
|
|
copy windows\Makefile.doc doc\Makefile > nul
|
|
|
|
|
|
|
|
echo Type MAKE to start compiling.
|
|
|
|
goto :end
|
|
|
|
|
2001-12-19 13:23:10 -05:00
|
|
|
:watcom
|
|
|
|
copy windows\config.h.ms src\config.h > nul
|
|
|
|
copy windows\Makefile.watcom src\Makefile > nul
|
|
|
|
|
|
|
|
@echo Checking environment vars
|
|
|
|
@set INCLUDE | find /I "WATCOM"
|
|
|
|
@set LIB | find /I "WATCOM"
|
|
|
|
@echo If WATCOM directories were not displayed, you need to
|
|
|
|
@echo SET INCLUDE and SET LIB to the Watcom directories
|
|
|
|
@echo.
|
|
|
|
cd src
|
|
|
|
@echo Type WMAKE to build
|
|
|
|
goto :end
|
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
:usage
|
2002-03-19 13:20:01 -05:00
|
|
|
echo "Usage: configure [--borland | --msvc | --watcom]"
|
1999-12-02 02:42:23 -05:00
|
|
|
:end
|