]> sjero.net Git - wget/blobdiff - configure.bat.in
[svn] Changed version number to 1.10-alpha3
[wget] / configure.bat.in
index 9864659aec5ea362608c841656cbe2a0b5dcdf85..c8b45815db4aa1b699705ae129d80fbae962d802 100644 (file)
@@ -16,12 +16,21 @@ 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,6 +52,15 @@ copy windows\Makefile.doc doc\Makefile > nul
 echo Type MAKE to start compiling.
 goto :end
 
+: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
+
 :watcom
 copy windows\config.h.ms src\config.h > nul
 copy windows\Makefile.watcom src\Makefile > nul
@@ -58,5 +76,5 @@ cd src
 goto :end
 
 :usage
-echo Usage: Configure [--borland | --msvc | --watcom]
+echo "Usage: configure [--borland | --mingw | --msvc | --watcom]"
 :end