1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Remove `windows' subdirectory.

This commit is contained in:
Giuseppe Scrivano 2010-06-17 23:08:23 +02:00
parent f9c765d8e6
commit f9993ec155
15 changed files with 8 additions and 1391 deletions

View File

@ -1,3 +1,9 @@
2010-06-17 Giuseppe Scrivano <gscrivano@gnu.org>
* windows: Remove directory.
* Makefile.am (SUBDIRS): Remove windows.
* configure.ac: Don't generate windows/Makefile.
2010-06-15 Giuseppe Scrivano <gscrivano@gnu.org> 2010-06-15 Giuseppe Scrivano <gscrivano@gnu.org>
* m4/wget.m4 (WGET_STRUCT_SOCKADDR_STORAGE): Guard header inclusions. * m4/wget.m4 (WGET_STRUCT_SOCKADDR_STORAGE): Guard header inclusions.

View File

@ -41,7 +41,7 @@ distuninstallcheck_listfiles = find . -type f | \
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
# subdirectories in the distribution # subdirectories in the distribution
SUBDIRS = lib src doc po tests util windows SUBDIRS = lib src doc po tests util
EXTRA_DIST = ChangeLog.README configure.bat MAILING-LIST \ EXTRA_DIST = ChangeLog.README configure.bat MAILING-LIST \
msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \ msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \

View File

@ -478,6 +478,6 @@ dnl Create output
dnl dnl
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile util/Makefile AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile util/Makefile
po/Makefile.in tests/Makefile tests/WgetTest.pm po/Makefile.in tests/Makefile tests/WgetTest.pm
lib/Makefile windows/Makefile]) lib/Makefile])
AC_CONFIG_HEADERS([src/config.h]) AC_CONFIG_HEADERS([src/config.h])
AC_OUTPUT AC_OUTPUT

View File

@ -1,244 +0,0 @@
2010-05-08 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am: Update copyright years.
* Makefile.doc: Likewise.
* Makefile.src: Likewise.
* Makefile.top: Likewise.
* Makefile.top.bor: Likewise.
* Makefile.top.mingw: Likewise.
* config-compiler.h: Likewise.
2009-09-21 Micah Cowan <micah@cowan.name>
* README: Warn about less-than-functional Windows build support.
2009-09-03 Gisle Vanem <giva@bgnett.no>
* config.h (HAVE_STRING_H): Define for all Windows build
platforms.
(socklen_t): Define conditionally.
2008-09-09 Gisle Vanem <gvanem@broadpark.no>
* config-compiler.h: MingW do have <stdint.h>; added HAVE_STDINT_H.
Added _CRT_SECURE_NO_WARNINGS to supress warnings in MSVC8+ about
using "old" ANSI-functions.
* config.h: config-post.h is gone. SIZEOF_LONG_LONG is 8.
2008-01-25 Micah Cowan <micah@cowan.name>
* Makefile.am, Makefile.doc, Makefile.src, Makefile.top,
Makefile.top.bor, Makefile.top.mingw, config-compiler.h: Updated
copyright year.
2007-11-28 Micah Cowan <micah@cowan.name>
* Makefile.doc, Makefile.am, Makefile.src, Makefile.top,
Makefile.top.bor, Makefile.top.mingw, config-compiler.h: Updated
license exception for OpenSSL, per the SFLC.
2007-10-15 Gisle Vanem <giva@bgnett.no>
* config-compiler.h: Adjust for OpenWacom 1.7's _Bool fix.
2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in: Removed, replaced by Makefile.am.
* Makefile.am: Converted from Makefile.in.
2007-09-24 Christopher Lewis <chris@christopherlewis.com>
* config-compiler.h: Fix compiler warnings related to
HAVE_INTPTR_T.
2007-07-05 Micah Cowan <micah@cowan.name>
* Makefile.top.bor, Makefile.doc, Makefile.in, Makefile.src:
* config-compiler.h, Makefile.top, Makefile.top.mingw:
Updated GPL reference to version 3 or later, removed FSF
address.
2006-06-25 Christopher Lewis <chris@christopherlewis.com>
* Windows\Makefile.top: Added OpenSSL dlls and cacert.pem to
wget.zip to further automate the Win32 build process
* Windows\Makefile.top.bor: Added OpenSSL dlls and cacert.pem to
wget.zip to further automate the Win32 build process
2007-01-23 Christopher Lewis <chris@christopherlewis.com>
* Windows\Makefile.top: Added the required file msvcr80.dll. This
file is required by OpenSSL.
* Windows\Makefile.top.bor: Added the required file msvcr80.dll.
This file is required by OpenSSL.
2006-12-29 Gisle Vanem <giva@bgnett.no>
* config.h: Added 'HAVE_SYS_UTIME_H 1' which gets undefined as needed
in config-compiler.h.
* config-compiler.h: Added '_WIN32_WINNT=0x0501' as needed to pull in
the prototype of getaddrinfo() and other library functions. Defined
HAVE_UINTPTR_T and HAVE_INTPTR_T for Digital Mars, which supports
'uintptr_t' and 'intptr_t'. Undefined HAVE_STDBOOL_H for Watcom, which
has <stdbol.h> but the file cannot be used since the '_Bool' builtin
is missing in the compiler!
2006-10-12 Gisle Vanem <giva@bgnett.no>
* config-compiler.h (HAVE_INTPTR_T): Define to 1 under MinGW.
2006-08-24 Mauro Tortonesi <mauro@ferrara.linux.it>
* Makefile.src: Added spider.c to the list of files to compile and
spider.h to the list of header files. Updated copyright information.
* Makefile.src.mingw: Ditto.
* Makefile.src.bor: Ditto.
2006-04-07 Mauro Tortonesi <mauro@ferrara.linux.it>
* config-compiler.h: Several fixes for MSVC 8 (Visual C 2005).
2006-03-09 Hrvoje Niksic <hniksic@xemacs.org>
* config-compiler.h (HAVE_UINTPTR_T): Define to 1 under MinGW.
2005-08-10 Hrvoje Niksic <hniksic@xemacs.org>
* config.h (HAVE_SOCKADDR_IN6_SCOPE_ID): According to MSDN,
Winsock supports sin6_scope_id.
2005-07-08 Gisle Vanem <giva@bgnett.no>
* config-compiler.h: Reintroduced Watcom support.
2005-07-08 Hrvoje Niksic <hniksic@xemacs.org>
* config.h: Comment out the #undef lines so that they don't undo
the flags set in the Makefiles.
2005-07-07 Hrvoje Niksic <hniksic@xemacs.org>
* config-compiler.h (stat_alias): Don't directly redefine stat and
fstat here. Just define the alias symbols.
(gai_strerror): Just declare that it needs to be defined instead
of defining it directly.
2005-07-07 Gisle Vanem <giva@bgnett.no>
* config-compiler.h: Define HAVE__BOOL, HAVE_INTTYPES_H, and
HAVE_STRTOLL for MinGW.
2005-07-07 Hrvoje Niksic <hniksic@xemacs.org>
* config.h.mingw: Removed.
* config.h.bor: Removed.
* config.h.ms: Removed.
* config-compiler.h: New file.
2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
* config.h: New file.
2005-06-30 Hrvoje Niksic <hniksic@xemacs.org>
* Makefile.src.bor: Correct location of OBJS dependency.
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* config.h.ms: Ditto.
* config.h.bor: Explicitly include config-post.h.
2005-06-29 Gisle Vanem <giva@bgnett.no>
* config.h.mingw: MinGW has limits.h, uint32_t, and the
sin6_scope_id member of sockaddr_in6. Include config-post.h.
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
* config.h.bor: Ditto.
* config.h.mingw: Don't explicitly include malloc.h, mswindows.h
does that.
2005-06-23 Hrvoje Niksic <hniksic@xemacs.org>
* config.h.bor: Ditto.
* config.h.ms: Remove obsolete symbols.
2005-06-23 Hrvoje Niksic <hniksic@xemacs.org>
* Makefile.watcom: Removed.
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
* Makefile.src*: Add the config.h dependency.
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
* Makefile.src, Makefile.src.bor, Makefile.src.mingw: Make OBJS
depend on all headers.
* wget.dep: Removed.
2005-04-05 Mauro Tortonesi <mauro@ferrara.linux.it>
* Makefile.src.mingw: removed string_t.c from list of source files.
* Makefile.watcom: removed string_t.c from list of source files.
* wget.dep: removed string_t.c from list of source files.
2005-02-10 Mauro Tortonesi <mauro@ferrara.linux.it>
* Makefile.src: Renamed string.{c,h} to string_t.{c,h} to fix
a compilation conflict with the string.h header in the standard
C library.
* Makefile.src.bor: Renamed string.{c,h} to string_t.{c,h} to fix
a compilation conflict with the string.h header in the standard
C library.
* Makefile.src.mingw: Renamed string.{c,h} to string_t.{c,h} to fix
a compilation conflict with the string.h header in the standard
C library.
* Makefile.src.watcom: Renamed string.{c,h} to string_t.{c,h} to fix
a compilation conflict with the string.h header in the standard
C library.
* wget.dep: Renamed string.{c,h} to string_t.{c,h} to fix a
compilation conflict with the string.h header in the standard C
library.
2004-12-31 Mauro Tortonesi <mauro@ferrara.linux.it>
* Makefile.src: Added string.c to the list of modules to compile.
* Makefile.src.bor: Added string.c to the list of modules to compile.
* Makefile.src.mingw: Added string.c to the list of modules to compile.
* Makefile.src.watcom: Added string.c to the list of modules to compile.
* wget.dep: Added dependencied for the string.c module.
* ChangeLog: New file.

View File

@ -1,39 +0,0 @@
# Makefile for `wget' utility
# Copyright (C) 1995, 1996, 1997, 2007, 2008, 2009, 2010 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Additional permission under GNU GPL version 3 section 7
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
# grants you additional permission to convey the resulting work.
# Corresponding Source for a non-source form of such a combination
# shall include the source code for the parts of OpenSSL used as well
# as that of the covered work.
#
# Version: @VERSION@
#
# This file is just a stub, so that the build subprocess in `windows'
# succeeds. This directory is not used under Unix builds, normally
# affected by Makefile.in.
EXTRA_DIST = config-compiler.h config.h Makefile.doc \
Makefile.src Makefile.src.bor Makefile.src.mingw \
Makefile.top Makefile.top.bor Makefile.top.mingw

View File

@ -1,99 +0,0 @@
# Makefile for `wget' utility
# Copyright (C) 1995, 1996, 1997, 2004, 2007, 2008, 2009, 2010 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Additional permission under GNU GPL version 3 section 7
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
# grants you additional permission to convey the resulting work.
# Corresponding Source for a non-source form of such a combination
# shall include the source code for the parts of OpenSSL used as well
# as that of the covered work.
# You probably need makeinfo and perl, see the README in the main
# windows directory.
RM = -del
CP = copy
ATTRIB = attrib
MAKEINFO = makeinfo.exe
TEXI2POD = texi2pod.pl
POD2MAN = pod2man
SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
WGETHLP = wget.hlp
WGETINFO = wget.info
WGETTEXI = wget.texi
WGETHTML = wget.html
WGETPOD = wget.pod
manext = 1
MAN = wget.$(manext)
all: $(WGETHLP) $(WGETINFO) $(WGETHTML)
.IGNORE:
$(SAMPLERCTEXI): sample.wgetrc
perl -pne "s/@/@@/g" < $? > $@
$(WGETINFO): $(SAMPLERCTEXI) $(WGETTEXI)
$(MAKEINFO) --no-validate --no-warn --force \
--no-split $(WGETTEXI)
$(WGETHTML): $(SAMPLERCTEXI) $(WGETTEXI)
$(MAKEINFO) --no-validate --no-warn --force \
--no-split --html -o $@ $(WGETTEXI)
$(TEXI2POD): $(TEXI2POD).in
$(CP) $? $@
$(WGETPOD): $(WGETTEXI) $(TEXI2POD)
$(TEXI2POD) $(WGETTEXI) $@
man: $(MAN)
$(MAN): $(WGETPOD)
$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
$(WGETHLP): $(WGETTEXI) $(SAMPLERCTEXI)
$(MAKEINFO) --no-validate --no-warn --force \
--hpj wget.hpj --output wget.rtf $(WGETTEXI)
hcrtf -xn wget.hpj
clean:
$(RM) *.bak
$(RM) *.hpj
$(RM) *.rtf
$(RM) *.ph
$(RM) $(SAMPLERCTEXI)
$(RM) $(MAN)
$(RM) $(TEXI2POD)
$(ATTRIB) -h *.gid
$(RM) *.gid
distclean: clean
$(RM) $(WGETHTML)
$(RM) $(WGETPOD)
$(RM) $(WGETHLP)
$(RM) $(WGETINFO)
$(RM) $(WGETHLP)
$(RM) Makefile
realclean: distclean

View File

@ -1,110 +0,0 @@
# Makefile for `wget' utility for MSVC
# Copyright (C) 1995, 1996, 1997, 2004, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Additional permission under GNU GPL version 3 section 7
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
# grants you additional permission to convey the resulting work.
# Corresponding Source for a non-source form of such a combination
# shall include the source code for the parts of OpenSSL used as well
# as that of the covered work.
# SSL (https) support requires the OpenSSL library (see http://www.openssl.org/).
# If you do not have OpenSSL installed or wish to build Wget without SSL
# support, either comment-out the following lines or define NO_SSL.
!ifndef NO_SSL
SSLDEFS = /DHAVE_SSL
SSLLIBS = libeay32.lib ssleay32.lib
SSLOBJ = openssl$o http-ntlm$o
!endif
o = .obj
CC = cl
LD = link
RM = -del
DEFS = /DWINDOWS /D_CONSOLE /DHAVE_CONFIG_H $(SSLDEFS)
LIBS = kernel32.lib advapi32.lib wsock32.lib user32.lib gdi32.lib $(SSLLIBS)
!ifdef DEBUG
CFLAGS = /nologo /MTd /Od /Zi /I. $(DEFS)
LDFLAGS = /debug
!else
CFLAGS = /nologo /MT /O2 /I. $(DEFS)
LDFLAGS = /opt:ref #/opt:nowin98
!endif
# The following enables security checks and is recommended if you are using
# MSVC 7.0 (or later) for 80x86.
!ifdef SECURITY_CHECKS
CFLAGS = $(CFLAGS) /GS
!endif
# The following enables link-time code generation (Cross-file
# interprocedural optimizations).
!ifdef LTCG
CFLAGS = $(CFLAGS) /GL
LDFLAGS = $(LDFLAGS) /ltcg:status
!endif
OBJ = cmpt$o safe-ctype$o convert$o connect$o host$o http$o netrc$o \
ftp-basic$o ftp$o ftp-ls$o ftp-opie$o getopt$o hash$o \
html-parse$o html-url$o progress$o retr$o recur$o res$o url$o \
cookies$o init$o utils$o main$o ptimer$o version$o xmalloc$o \
mswindows$o gen-md5$o gnu-md5$o log$o $(SSLOBJ) spider$o
.SUFFIXES: .c .obj
# If this doesn't work for you, remove the second colon.
.c.obj::
$(CC) $(CFLAGS) /c $<
# Dependencies for building
wget.exe: $(OBJ)
$(LD) @<< $(LDFLAGS) /out:$@ $(OBJ) $(LIBS)
<<
$(OBJ): config-post.h config.h connect.h convert.h cookies.h ftp.h \
gen-md5.h getopt.h gnu-md5.h hash.h host.h html-parse.h \
http-ntlm.h init.h log.h mswindows.h netrc.h options.h \
progress.h ptimer.h recur.h res.h retr.h safe-ctype.h \
spider.h ssl.h sysdep.h url.h utils.h wget.h xmalloc.h
#
# Dependencies for cleanup
#
clean:
$(RM) *.bak
$(RM) *.obj
$(RM) *.exe
$(RM) *.pdb
$(RM) *.map
$(RM) *.ilk
distclean: clean
$(RM) Makefile
$(RM) config.h
realclean: distclean
$(RM) TAGS

View File

@ -1,86 +0,0 @@
## Compiler, linker, and lib stuff
## Makefile for use with Borland C++ for Win32 executable.
RM=-del
CC=bcc32
LINK=ilink32
LFLAGS=
WARN=-w-8057 -w-8027 -w-8008 -w-8065
CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -O2 -6 -d -q $(WARN)
## variables
OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj \
ftp-ls.obj ftp-opie.obj getopt.obj host.obj html-parse.obj html-url.obj \
http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj \
safe-ctype.obj hash.obj progress.obj ptimer.obj gen-md5.obj cookies.obj \
recur.obj res.obj retr.obj url.obj utils.obj version.obj xmalloc.obj \
mswindows.obj spider.obj
LIBDIR=$(MAKEDIR)\..\lib
wget.exe: $(OBJS)
$(LINK) @&&|
$(LFLAGS) -Tpe -ap -c +
$(LIBDIR)\c0x32.obj+
cmpt.obj+
connect.obj+
convert.obj+
cookies.obj+
ftp-basic.obj+
ftp-ls.obj+
ftp-opie.obj+
ftp.obj+
gen-md5.obj+
getopt.obj+
gnu-md5.obj+
hash.obj+
host.obj+
html-parse.obj+
html-url.obj+
http.obj+
init.obj+
log.obj+
main.obj+
mswindows.obj+
netrc.obj+
progress.obj+
ptimer.obj+
recur.obj+
res.obj+
retr.obj+
safe-ctype.obj+
spider.obj+
url.obj+
utils.obj+
version.obj+
xmalloc.obj,+
$<,$*,+
$(LIBDIR)\import32.lib+
$(LIBDIR)\cw32.lib
|
$(OBJS): config-post.h config.h connect.h convert.h cookies.h ftp.h \
gen-md5.h getopt.h gnu-md5.h hash.h host.h html-parse.h \
http-ntlm.h init.h log.h mswindows.h netrc.h options.h \
progress.h ptimer.h recur.h res.h retr.h safe-ctype.h \
spider.h ssl.h sysdep.h url.h utils.h wget.h xmalloc.h
#
# Dependencies for cleanup
#
clean:
$(RM) *.bak
$(RM) *.obj
$(RM) wget.exe
$(RM) wget.ilc
$(RM) wget.ild
$(RM) wget.ilf
$(RM) wget.ils
$(RM) wget.map
$(RM) wget.tds
o = .obj

View File

@ -1,50 +0,0 @@
## Compiler, linker, and lib stuff
## Makefile for use with MinGW GCC/Win32 executable.
##
## ----------------------------------------------------
## USAGE:
## You can type either
## mingw32-make
## to build wget.exe without SSL support or
## mingw32-make SSL=1
## to build wget.exe with SSL support.
##
## ----------------------------------------------------
## NOTE: If you plan to build WGET.EXE with SSL support,
## please check the value of OPENSSL_PATH in this file
## and correct it if it is not the OpenSSL installed directory.
CC=gcc
LDFLAGS= -s
CFLAGS= -DWINDOWS -DHAVE_CONFIG_H -O3 -Wall -I.
## variables
LIBS= -lwsock32
OBJ_EXT=.o
OBJS=cmpt${OBJ_EXT} convert${OBJ_EXT} connect${OBJ_EXT} ftp${OBJ_EXT} ftp-basic${OBJ_EXT} \
ftp-ls${OBJ_EXT} ftp-opie${OBJ_EXT} getopt${OBJ_EXT} host${OBJ_EXT} html-parse${OBJ_EXT} html-url${OBJ_EXT} \
http${OBJ_EXT} init${OBJ_EXT} log${OBJ_EXT} main${OBJ_EXT} gnu-md5${OBJ_EXT} netrc${OBJ_EXT} \
safe-ctype${OBJ_EXT} hash${OBJ_EXT} progress${OBJ_EXT} gen-md5${OBJ_EXT} cookies${OBJ_EXT} \
ptimer${OBJ_EXT} recur${OBJ_EXT} res${OBJ_EXT} retr${OBJ_EXT} url${OBJ_EXT} utils${OBJ_EXT} \
version${OBJ_EXT} xmalloc${OBJ_EXT} mswindows${OBJ_EXT} spider${OBJ_EXT}
ifdef SSL
## OPENSSL_PATH is the OpenSSL installed directory
OPENSSL_PATH = ../../openssl-0.9.7c
CFLAGS += -I${OPENSSL_PATH}/outinc -DHAVE_SSL
LIBS += -L${OPENSSL_PATH}/out -leay32 -lssl32
OBJS += openssl${OBJ_EXT} http-ntlm${OBJ_EXT}
endif
all: wget.exe
wget.exe: $(OBJS)
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
$(OBJS): config-post.h config.h connect.h convert.h cookies.h ftp.h \
gen-md5.h getopt.h gnu-md5.h hash.h host.h html-parse.h \
http-ntlm.h init.h log.h mswindows.h netrc.h options.h \
progress.h ptimer.h recur.h res.h retr.h safe-ctype.h \
spider.h ssl.h sysdep.h url.h utils.h wget.h xmalloc.h
o = ${OBJ_EXT}

View File

@ -1,80 +0,0 @@
# Makefile for `Wget' utility
# Copyright (C) 1995, 1996, 1997, 2004, 2007, 2008, 2009, 2010 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Additional permission under GNU GPL version 3 section 7
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
# grants you additional permission to convey the resulting work.
# Corresponding Source for a non-source form of such a combination
# shall include the source code for the parts of OpenSSL used as well
# as that of the covered work.
RM = -del
CP = copy
# flags passed to recursive makes in subdirectories
# subdirectories in the distribution
SUBDIRS = src doc #util
# default target
all: Makefile $(SUBDIRS)
$(SUBDIRS): FORCE
cd $@
$(MAKE)
cd ..
FORCE:
# install everything
install:
echo Just do it.
clean: clean-recursive clean-top
distclean: distclean-recursive distclean-top
realclean: realclean-recursive realclean-top
clean-top:
$(RM) *.bak
$(RM) *.zip
distclean-top: clean-top
$(RM) Makefile
$(RM) config.h
realclean-top: distclean-top
clean-recursive distclean-recursive realclean-recursive:
cd src
$(MAKE) $(@:-recursive=)
cd ..\\doc
$(MAKE) $(@:-recursive=)
cd ..
bindist: wget.zip
wget.zip: $(SUBDIRS)
$(RM) wget.zip
$(RM) cacert.pem
src\wget http://curl.haxx.se/ca/cacert.pem
zip -Djl9 wget.zip AUTHORS COPYING INSTALL MAILING-LIST NEWS README doc/sample.wgetrc
zip -Dj9 wget.zip src/wget.exe doc/wget.hlp cacert.pem
zip -Dj9 wget.zip c:\openssl\bin\libeay32.dll c:\openssl\bin\ssleay32.dll c:\openssl\bin\msvcr80.dll

View File

@ -1,79 +0,0 @@
# Makefile for `Wget' utility
# Copyright (C) 1995, 1996, 1997, 2004, 2007, 2008, 2009, 2010 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Additional permission under GNU GPL version 3 section 7
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
# grants you additional permission to convey the resulting work.
# Corresponding Source for a non-source form of such a combination
# shall include the source code for the parts of OpenSSL used as well
# as that of the covered work.
RM = -del
CP = copy
# flags passed to recursive makes in subdirectories
# subdirectories in the distribution
SUBDIRS = src doc #util
# default target
all: Makefile $(SUBDIRS)
$(SUBDIRS):
cd $@
$(MAKEDIR)\$(MAKE)
cd ..
# install everything
install:
echo Just do it.
clean: clean-recursive clean-top
distclean: distclean-recursive distclean-top
realclean: realclean-recursive realclean-top
clean-top:
$(RM) *.bak
$(RM) *.zip
distclean-top: clean-top
$(RM) Makefile
$(RM) config.h
realclean-top: distclean-top
clean-recursive distclean-recursive realclean-recursive:
cd src
$(MAKEDIR)\$(MAKE) $(@:-recursive=)
cd ..\doc
$(MAKEDIR)\$(MAKE) $(@:-recursive=)
cd ..
bindist: wget.zip
wget.zip: $(SUBDIRS)
$(RM) wget.zip
$(RM) cacert.pem
src\wget http://curl.haxx.se/ca/cacert.pem
zip -Djl9 wget.zip AUTHORS COPYING INSTALL MAILING-LIST NEWS README doc/sample.wgetrc
zip -Dj9 wget.zip src/wget.exe doc/wget.hlp cacert.pem
zip -Dj9 wget.zip c:\openssl\bin\libeay32.dll c:\openssl\bin\ssleay32.dll c:\openssl\bin\msvcr80.dll

View File

@ -1,61 +0,0 @@
# Makefile for `Wget' utility
# Copyright (C) 1995, 1996, 1997, 2007, 2008, 2009, 2010 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Additional permission under GNU GPL version 3 section 7
# If you modify this program, or any covered work, by linking or
# combining it with the OpenSSL project's OpenSSL library (or a
# modified version of that library), containing parts covered by the
# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
# grants you additional permission to convey the resulting work.
# Corresponding Source for a non-source form of such a combination
# shall include the source code for the parts of OpenSSL used as well
# as that of the covered work.
# Makefile for building WGET.EXE and WGET.HLP using MinGW GCC/Win32 compiler.
SRC_DIR = src
DOC_DIR = doc
all: ${SRC_DIR} ${DOC_DIR}
${SRC_DIR}: FORCE
@echo -----------------------------------------------------------
@echo = If you would like to build WGET.EXE without SSL support,
@echo = please issue the following commands.
@echo = [1] cd $@
@echo = [2] ${MAKE}
@echo = [3] cd ..
@echo = --------------------
@echo = If you would like to build WGET.EXE with SSL support,
@echo = please follow the instructions below.
@echo = [1] cd $@
@echo = [2] Check the value of OPENSSL_PATH in Makefile and
@echo = correct it if it is not the OpenSSL installed directory.
@echo = [3] ${MAKE} SSL=1
@echo = [4] cd ..
@echo -----------------------------------------------------------
${DOC_DIR}: FORCE
@echo -----------------------------------------------------------
@echo = Please issue the following commands to obtain WGET.HLP.
@echo = [1] cd $@
@echo = [2] ${MAKE}
@echo = [3] cd ..
@echo -----------------------------------------------------------
FORCE:

View File

@ -1,82 +0,0 @@
-*- text -*-
*** NOTE: as of version 1.12, the building of Wget on Windows using
*** these supplied Makefiles, is severely broken. HOWEVER, it is
*** currently possible to build Wget on Windows using the standard
Unix-y "./configure && make", under MinGW + MSYS, though there are
some rough edges when you go beyond the basic build.
We expect to support this method for building Wget more fully in
future releases; the degree to which other Windows build methods
will be supported is not currently clear, as the cost of their
maintenance has grown significantly.
You can configure the Windows port of Wget by running configure.bat (in
the main Wget directory). You can run it with no arguments to see the
list of possible options. Run it with the option corresponding to the
compiler you intend to use to build Wget and follow the (brief)
instructions printed on the screen. The instructions bellow are for
building Wget with Microsoft Visual C++ (MSVC); you may need to make
appropriate substitutions for your compiler and build environment;
currently wget can be built at least with Visual Studio/.Net, the free
Borland compiler, and the free mingw environment. The instructions do
*not* apply to the Cygwin environment, on which Wget is built with the
procedure described in the INSTALL file in the top-level directory.
To build Wget with MSVC run configure.bat (in the main Wget directory)
with the argument --msvc, and then run nmake. At a certain point in time
Wget exposed some compiler bugs in MSVC 5.0; later Wget started to
expose (at least http.c, retr.c) some other compiler bugs in MSVC 6.0
SP6 (cl.exe version 12) which could/can be worked around by compiling
completely without optimization or at least partially (by using
#pragma optimize("g",on) and "off" around offending functions).
However, read the rest of this document before continuing.
For MSVC the current default is to build Wget with SSL support. For this
to work, you will need to have OpenSSL installed. First, get OpenSSL
(http://www.openssl.org), compile it and install the relevant headers and
libraries where your compiler can find them; currently this could mean
(presuming default installation directories for MSVC 6.0) copy (from the
compiled OpenSSL directory) the whole inc32\openssl directory and its
contents to "C:\Program Files\Microsoft Visual Studio\VC98\Include\openssl",
and from out32dll (in the OpenSSL directory) the two needed libraries
(libeay32.lib and ssleay32.lib) to
"C:\Program Files\Microsoft Visual Studio\VC98\lib". These locations
aren't exactly the best but will get you started if you don't know where
to place these headers and libraries, you should find similar paths for
later compiler versions. Usually at run-time some OpenSSL
libraries (currently ssleay32.dll and libeay32.dll) will need to be
available in your environment PATH.
If you don't want to/can't compile Wget with OpenSSL comment SSL related
lines in windows\Makefile.src; then follow the normal instructions
(configure.bat and so on).
If you want to build the help file you will need a copy of makeinfo to
convert wget.texi to rtf and html. I've made a copy available at
<URL:ftp://sunsite.dk/projects/wget/makeinfo.zip>. This copy of
makeinfo is from the miktxt 1.10 archive available from ctan. You also
will need perl 5, one possibility is ActivePerl (currently free) from
<URL:http://www.activestate.com>; you need to locate the download and
install instructions for the current version available (since the
packages and installation instructions change from time to time).
Windows contributors:
* Darko Budor <dbudor@zesoi.fer.hr> -- the initial work on the Windows
port;
* Tim Charron <tcharron@interlog.com> -- additional cleanup and
contribution of the (now retired) Watcom makefile;
* John Burden <john@futuresguide.com> -- cleanup of the VC++ makefile
to get a clean build with VC++ 5.0 on Windows 95;
* Douglas E. Wegscheid -- maintains configure.bat and various Windows
makefiles.
* Herold Heiko -- numerous build reports and fixes.
* Gisle Vanem -- many Windows-related improvements to the source and
the build system.

View File

@ -1,238 +0,0 @@
/* Support for various Windows compilation environments.
Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation,
Inc.
This file is part of GNU Wget.
GNU Wget is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
GNU Wget is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Wget. If not, see <http://www.gnu.org/licenses/>.
Additional permission under GNU GPL version 3 section 7
If you modify this program, or any covered work, by linking or
combining it with the OpenSSL project's OpenSSL library (or a
modified version of that library), containing parts covered by the
terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
grants you additional permission to convey the resulting work.
Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
/* This file contains information about various compilers used to
build Wget on the Windows platform using its "native" API,
sometimes referred to as "Win32". (This excludes Cygwin, which
defines a Unix-compatible layer and is handled with configure.)
The above "information about compilers" includes both actual
differences in compilers (such as how to construct 64-bit constants
or whether C99 `bool' is available) and the properties of the
compilation environment and run-time library shipped with the
compiler (such as whether stat handles large files or whether
strtoll is present).
The file is divided into sections for each compiler/environment.
Being based on free software, MinGW's section comes first and
contains most of the explanatory comments. Things that apply to
*all* compilers, as well as things that are specific to Wget,
belong in src/mswindows.h. */
/* -------------------- */
/* MinGW (GCC) section. */
/* -------------------- */
#if defined __MINGW32__
#define OS_TYPE "Windows-MinGW"
#define LL(n) n##LL
/* Transparently support statting large files, like POSIX's LFS API
does, by aliasing stat and fstat to their equivalents that do LFS.
Most Windows compilers we support use _stati64 (but have different
names for 2nd argument type, see below), so we use that. */
#define stat_alias _stati64
#define fstat_alias _fstati64
/* On Windows the 64-bit stat requires an explicitly different type
for the 2nd argument, so we define a struct_stat macro that expands
to the appropriate type on Windows, and to the regular struct stat
on Unix.
Note that Borland C 5.5 has 64-bit stat (_stati64), but not a
64-bit fstat! Because of that we also need a struct_fstat that
points to struct_stat on Unix and on Windows, except under Borland,
where it points to the 32-bit struct stat. */
#define struct_stat struct _stati64
#define struct_fstat struct _stati64
/* MinGW 3.7 (or older) prototypes gai_strerror(), but is missing
from all import libraries. */
#ifdef ENABLE_IPV6
# define NEED_GAI_STRERROR
#endif
/* MinGW and GCC support some POSIX and C99 features. */
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE__BOOL 1
#undef SIZEOF_LONG_LONG /* avoid redefinition warning */
#define SIZEOF_LONG_LONG 8
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_STRTOLL 1
/* MingW needs _WIN32_WINNT==0x0501 defined to pull in getaddrinfo()
* and freeaddrinfo() etc.
*/
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0501)
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
/* -------------------- */
/* MS Visual C section. */
/* -------------------- */
#elif defined _MSC_VER
#define OS_TYPE "Windows-MSVC"
#define LL(n) n##I64
#define stat_alias _stati64
#define fstat_alias _fstati64
#define struct_stat struct _stati64
#define struct_fstat struct _stati64
#define isatty _isatty
#if _MSC_VER >= 1300
# define HAVE__STRTOI64 1
#endif
#if _MSC_VER >= 1310
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#endif
#if _MSC_VER >= 1400
#pragma warning ( disable : 4996 )
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS
#endif
#undef HAVE_UTIME_H /* no <utime.h> */
/* ------------------ */
/* Borland C section. */
/* ------------------ */
#elif defined __BORLANDC__
#define OS_TYPE "Windows-Borland"
#define LL(n) n##I64
#define stat_alias _stati64
#undef fstat_alias
#define struct_stat struct stati64
#undef struct_fstat
/* ------------------------------ */
/* Digital Mars Compiler section. */
/* ------------------------------ */
#elif defined __DMC__
#define OS_TYPE "Windows-DMC"
#define LL(n) n##LL
/* DMC supports 64-bit types, including long long, but not statting
large files. */
#undef stat_alias
#undef fstat_alias
/* If left undefined, sysdep.h will define these to struct stat. */
#undef struct_stat
#undef struct_fstat
/* DMC's runtime supports some POSIX and C99 headers, types, and
functions that we use. */
#define HAVE_STDINT_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_UINT32_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
#undef SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG 8
#define HAVE__BOOL 1
#define HAVE_USLEEP 1
#define HAVE_STRTOLL 1
#undef HAVE_UTIME_H /* no <utime.h> */
/* -------------------- */
/* OpenWatcom section. */
/* -------------------- */
#elif defined __WATCOMC__
#define OS_TYPE "Windows-Watcom"
#define LL(n) n##LL
#define stat_alias _stati64
#define fstat_alias _fstati64
#define struct_stat struct _stati64
#define struct_fstat struct _stati64
#ifdef ENABLE_IPV6
# define NEED_GAI_STRERROR
#endif
#define HAVE_STDINT_H 1
#define HAVE_INTTYPES_H 1
/* OpenWatcom 1.6 do have <stdbool.h>, but definition of '_Bool' is missing! */
/* This was fixed in OpenWatcom 1.7 */
#if __WATCOMC__ >= 1270
#define HAVE_STDBOOL_H 1
#define HAVE__BOOL 1
#endif
#define HAVE_STRTOLL 1
#define HAVE_UINT32_T 1
#undef HAVE_UTIME_H
#undef socklen_t /* avoid clash with <ws2tcpip.h> */
#undef SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG 8
/* OpenWatcom needs _WIN32_WINNT==0x0501 defined to pull in getaddrinfo()
* and freeaddrinfo() etc.
*/
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0501)
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#else
# error Your compiler is not supported.
#endif

View File

@ -1,221 +0,0 @@
/* src/config.h. Manually generated from src/config.h.in to
accomodate the 32-bit Windows compilation environments. */
/* Define if you want the debug output support compiled in. */
#define ENABLE_DEBUG 1
/* Define if you want the HTTP Digest Authorization compiled in. */
#define ENABLE_DIGEST 1
/* Define if IPv6 support is enabled. */
/* #undef ENABLE_IPV6 */
/* Define if you want the NTLM authorization support compiled in. */
#ifdef HAVE_OPENSSL
# define ENABLE_NTLM 1
#endif
/* Define if you want the Opie support for FTP compiled in. */
#define ENABLE_OPIE 1
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
/* #undef HAVE_ALLOCA_H */
/* Define when using built-in MD5. */
#define HAVE_BUILTIN_MD5
/* Define to 1 if you have the `drand48' function. */
/* #undef HAVE_DRAND48 */
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
/* #undef HAVE_FSEEKO */
/* Define to 1 if you have the `ftello' function. */
/* #undef HAVE_FTELLO */
/* Define to 1 if you have the `getaddrinfo' function. */
/* #undef HAVE_GETADDRINFO */
/* Define if support for the GnuTLS library is being compiled in. */
/* #undef HAVE_GNUTLS */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the `isatty' function. */
#define HAVE_ISATTY 1
/* Define to 1 if you have the <libintl.h> header file. */
/* #undef HAVE_LIBINTL_H */
/* Define if we're compiling support for MD5. */
/* #undef HAVE_MD5 */
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define if you have the nanosleep function. */
/* #undef HAVE_NANOSLEEP */
/* Define this if you want the NLS support. */
/* #undef HAVE_NLS */
/* Define if support for the OpenSSL library is being compiled in. */
/* #undef HAVE_OPENSSL */
/* Define when using OpenSSL MD5. */
/* #undef HAVE_OPENSSL_MD5 */
/* Define to 1 if you have the `sigblock' function. */
/* #undef HAVE_SIGBLOCK */
/* Define to 1 if you have the `sigsetjmp' function. */
/* #undef HAVE_SIGSETJMP */
/* Define to 1 if the system has the type `sig_atomic_t'. */
#define HAVE_SIG_ATOMIC_T 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define if struct sockaddr_in6 has the sin6_scope_id member */
#define HAVE_SOCKADDR_IN6_SCOPE_ID 1
/* Define when using Solaris MD5. */
/* #undef HAVE_SOLARIS_MD5 */
/* Define to 1 if stdbool.h conforms to C99. */
/* #undef HAVE_STDBOOL_H */
/* Define to 1 if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H */
/* Define to 1 if you have the `strcasecmp' function. */
/* #undef HAVE_STRCASECMP */
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strncasecmp' function. */
/* #undef HAVE_STRNCASECMP */
/* Define to 1 if you have the `strptime' function. */
/* #undef HAVE_STRPTIME */
/* Define to 1 if the system has the type `struct sockaddr_in6'. */
/* #undef HAVE_STRUCT_SOCKADDR_IN6 */
/* Define to 1 if the system has the type `struct sockaddr_storage'. */
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE */
/* Define to 1 if the system has the type `struct utimbuf'. */
#define HAVE_STRUCT_UTIMBUF 1
/* Define to 1 if you have the `symlink' function. */
/* #undef HAVE_SYMLINK */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
/* #undef HAVE_SYS_IOCTL_H */
/* Define to 1 if you have the <sys/select.h> header file. */
/* #undef HAVE_SYS_SELECT_H */
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the `timegm' function. */
/* #undef HAVE_TIMEGM */
/* Define to 1 if the system has the type `uint32_t'. */
/* #undef HAVE_UINT32_T */
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
/* Define to 1 if you have the `usleep' function. */
/* #undef HAVE_USLEEP */
/* Define to 1 if you have the <utime.h> header file. */
#define HAVE_UTIME_H 1
/* Define to 1 if you have the <sys/utime.h> header file. */
#define HAVE_SYS_UTIME_H 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define if fnmatch.h can be included. */
/* #undef HAVE_WORKING_FNMATCH_H */
/* Define to 1 if the system has the type `_Bool'. */
/* #undef HAVE__BOOL */
/* The size of a `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* The size of a `long', as computed by sizeof. */
#define SIZEOF_LONG 4
/* The size of a `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
/* The size of a `off_t', as computed by sizeof. */
#define SIZEOF_OFF_T 4
/* The size of a `short', as computed by sizeof. */
#define SIZEOF_SHORT 2
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Define to 1 if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
/* # undef _ALL_SOURCE */
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
/* #undef _LARGEFILE_SOURCE */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
# define inline __inline
#endif
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */
#if !defined(_MSC_VER) || (defined(_MSC_VER) && (_MSC_VER < 1500))
/* Define to int or size_t on systems without socklen_t. */
#define socklen_t int
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */
/* Include compiler-specific defines. */
#include "config-compiler.h"