]> sjero.net Git - wget/blobdiff - configure.bat
[svn] Don't generate configure.bat, just use it.
[wget] / configure.bat
diff --git a/configure.bat b/configure.bat
new file mode 100644 (file)
index 0000000..7b41b8d
--- /dev/null
@@ -0,0 +1,65 @@
+@echo off\r
+rem Configure batch file for `Wget' utility\r
+rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.\r
+\r
+rem This program is free software; you can redistribute it and/or modify\r
+rem it under the terms of the GNU General Public License as published by\r
+rem the Free Software Foundation; either version 2 of the License, or\r
+rem (at your option) any later version.\r
+\r
+rem This program is distributed in the hope that it will be useful,\r
+rem but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+rem GNU General Public License for more details.\r
+\r
+rem You should have received a copy of the GNU General Public License\r
+rem along with this program; if not, write to the Free Software\r
+rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
+\r
+rem In addition, as a special exception, the Free Software Foundation\r
+rem gives permission to link the code of its release of Wget with the\r
+rem OpenSSL project's "OpenSSL" library (or with modified versions of it\r
+rem that use the same license as the "OpenSSL" library), and distribute\r
+rem the linked executables.  You must obey the GNU General Public License\r
+rem in all respects for all of the code used other than "OpenSSL".  If you\r
+rem modify this file, you may extend this exception to your version of the\r
+rem file, but you are not obligated to do so.  If you do not wish to do\r
+rem so, delete this exception statement from your version.\r
+\r
+if .%1 == .--borland goto :borland\r
+if .%1 == .--mingw goto :mingw\r
+if .%1 == .--msvc goto :msvc\r
+goto :usage\r
+\r
+:msvc\r
+copy windows\config.h.ms src\config.h > nul\r
+copy windows\Makefile.top Makefile > nul\r
+copy windows\Makefile.src src\Makefile > nul\r
+copy windows\Makefile.doc doc\Makefile > nul\r
+\r
+echo Type NMAKE to start compiling.\r
+echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,\r
+echo and then NMAKE.\r
+goto :end\r
+\r
+:borland\r
+copy windows\config.h.bor src\config.h > nul\r
+copy windows\Makefile.top.bor Makefile > nul\r
+copy windows\Makefile.src.bor src\Makefile > nul\r
+copy windows\Makefile.doc doc\Makefile > nul\r
+\r
+echo Type MAKE to start compiling.\r
+goto :end\r
+\r
+:mingw\r
+copy windows\config.h.mingw src\config.h > nul\r
+copy windows\Makefile.top.mingw Makefile > nul\r
+copy windows\Makefile.src.mingw src\Makefile > nul\r
+copy windows\Makefile.doc doc\Makefile > nul\r
+\r
+echo Type mingw32-make to start compiling.\r
+goto :end\r
+\r
+:usage\r
+echo "Usage: configure [--borland | --mingw | --msvc]"\r
+:end\r