]> sjero.net Git - wget/blobdiff - configure.bat.in
[svn] Support for MINGW compilation.
[wget] / configure.bat.in
index 9a4d325eaacdc86b40325a63468553cbaf727307..0c5b4cf84a408cb924607ffb8ceb525925eeec0b 100644 (file)
@@ -16,8 +16,19 @@ 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.
 
+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.
+
 cls
 if .%1 == .--borland goto :borland
+if .%1 == .--mingw goto :mingw
 if .%1 == .--msvc goto :msvc
 if .%1 == .--watcom goto :watcom
 goto :usage
@@ -42,6 +53,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
@@ -57,5 +77,5 @@ cd src
 goto :end
 
 :usage
-echo "Usage: configure [--borland | --msvc | --watcom]"
+echo "Usage: configure [--borland | --mingw | --msvc | --watcom]"
 :end