]> sjero.net Git - wget/blobdiff - configure.bat.in
[svn] Remove support for Watcom's compiler.
[wget] / configure.bat.in
index 9864659aec5ea362608c841656cbe2a0b5dcdf85..4b59f40f31c0ae456ad6ffc89f2b60a17ddb309e 100644 (file)
@@ -16,12 +16,20 @@ 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
+rem In addition, as a special exception, the Free Software Foundation
+rem gives permission to link the code of its release of Wget with the
+rem OpenSSL project's "OpenSSL" library (or with modified versions of it
+rem that use the same license as the "OpenSSL" library), and distribute
+rem the linked executables.  You must obey the GNU General Public License
+rem in all respects for all of the code used other than "OpenSSL".  If you
+rem modify this file, you may extend this exception to your version of the
+rem file, but you are not obligated to do so.  If you do not wish to do
+rem so, delete this exception statement from your version.
+
 if .%1 == .--borland goto :borland
+if .%1 == .--mingw goto :mingw
 if .%1 == .--msvc goto :msvc
-if .%1 == .--watcom goto :watcom
-if not .%BORPATH% == . goto :borland
-if not .%1 == . goto :usage
+goto :usage
 
 :msvc
 copy windows\config.h.ms src\config.h > nul
@@ -43,20 +51,15 @@ copy windows\Makefile.doc doc\Makefile > nul
 echo Type MAKE to start compiling.
 goto :end
 
-: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
+:mingw
+copy windows\config.h.mingw src\config.h > nul
+copy windows\Makefile.top.mingw Makefile > nul
+copy windows\Makefile.src.mingw src\Makefile > nul
+copy windows\Makefile.doc doc\Makefile > nul
+
+echo Type mingw32-make to start compiling.
 goto :end
 
 :usage
-echo Usage: Configure [--borland | --msvc | --watcom]
+echo "Usage: configure [--borland | --mingw | --msvc]"
 :end