]> sjero.net Git - wget/blobdiff - configure.bat
Explicit rules to build en@{quot,boldquot}.po.
[wget] / configure.bat
old mode 100644 (file)
new mode 100755 (executable)
index 4d19629..63b67a0
@@ -1,47 +1,65 @@
-@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
-if not .%BORPATH% == . goto :borland
-if not .%1 == . goto :usage
-
-: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
-
-:usage
-echo Usage: Configure [--borland | --msvc]
-:end
+@echo off\r
+rem Configure batch file for `Wget' utility\r
+rem Copyright (C) 1995, 1996, 1997, 2007, 2008 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 3 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, see <http://www.gnu.org/licenses/>.\r
+\r
+rem Additional permission under GNU GPL version 3 section 7\r
+\r
+rem If you modify this program, or any covered work, by linking or\r
+rem combining it with the OpenSSL project's OpenSSL library (or a\r
+rem modified version of that library), containing parts covered by the\r
+rem terms of the OpenSSL or SSLeay licenses, the Free Software Foundation\r
+rem grants you additional permission to convey the resulting work.\r
+rem Corresponding Source for a non-source form of such a combination\r
+rem shall include the source code for the parts of OpenSSL used as well\r
+rem as that of the covered work.\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\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\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\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
+\r
+copy windows\config.h src\config.h > nul\r
+copy windows\config-compiler.h src\config-compiler.h > nul\r