diff --git a/ChangeLog b/ChangeLog index fedc6a51..da23aa82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-06-17 Giuseppe Scrivano + + * windows: Remove directory. + * Makefile.am (SUBDIRS): Remove windows. + * configure.ac: Don't generate windows/Makefile. + 2010-06-15 Giuseppe Scrivano * m4/wget.m4 (WGET_STRUCT_SOCKADDR_STORAGE): Guard header inclusions. diff --git a/Makefile.am b/Makefile.am index c8edf329..bb0430fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,7 +41,7 @@ distuninstallcheck_listfiles = find . -type f | \ ACLOCAL_AMFLAGS = -I m4 # 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 \ msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \ diff --git a/configure.ac b/configure.ac index fa3d5b97..400cf989 100644 --- a/configure.ac +++ b/configure.ac @@ -478,6 +478,6 @@ dnl Create output dnl AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile util/Makefile po/Makefile.in tests/Makefile tests/WgetTest.pm - lib/Makefile windows/Makefile]) + lib/Makefile]) AC_CONFIG_HEADERS([src/config.h]) AC_OUTPUT diff --git a/windows/ChangeLog b/windows/ChangeLog deleted file mode 100644 index 2d4d5030..00000000 --- a/windows/ChangeLog +++ /dev/null @@ -1,244 +0,0 @@ -2010-05-08 Giuseppe Scrivano - - * 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 - - * README: Warn about less-than-functional Windows build support. - -2009-09-03 Gisle Vanem - - * config.h (HAVE_STRING_H): Define for all Windows build - platforms. - (socklen_t): Define conditionally. - -2008-09-09 Gisle Vanem - - * config-compiler.h: MingW do have ; 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 - - * 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 - - * 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 - - * config-compiler.h: Adjust for OpenWacom 1.7's _Bool fix. - -2007-10-05 Ralf Wildenhues - - * Makefile.in: Removed, replaced by Makefile.am. - * Makefile.am: Converted from Makefile.in. - -2007-09-24 Christopher Lewis - - * config-compiler.h: Fix compiler warnings related to - HAVE_INTPTR_T. - -2007-07-05 Micah Cowan - - * 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 - - * 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 - - * 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 - - * 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 but the file cannot be used since the '_Bool' builtin - is missing in the compiler! - -2006-10-12 Gisle Vanem - - * config-compiler.h (HAVE_INTPTR_T): Define to 1 under MinGW. - -2006-08-24 Mauro Tortonesi - - * 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 - - * config-compiler.h: Several fixes for MSVC 8 (Visual C 2005). - -2006-03-09 Hrvoje Niksic - - * config-compiler.h (HAVE_UINTPTR_T): Define to 1 under MinGW. - -2005-08-10 Hrvoje Niksic - - * config.h (HAVE_SOCKADDR_IN6_SCOPE_ID): According to MSDN, - Winsock supports sin6_scope_id. - -2005-07-08 Gisle Vanem - - * config-compiler.h: Reintroduced Watcom support. - -2005-07-08 Hrvoje Niksic - - * config.h: Comment out the #undef lines so that they don't undo - the flags set in the Makefiles. - -2005-07-07 Hrvoje Niksic - - * 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 - - * config-compiler.h: Define HAVE__BOOL, HAVE_INTTYPES_H, and - HAVE_STRTOLL for MinGW. - -2005-07-07 Hrvoje Niksic - - * config.h.mingw: Removed. - - * config.h.bor: Removed. - - * config.h.ms: Removed. - - * config-compiler.h: New file. - -2005-07-06 Hrvoje Niksic - - * config.h: New file. - -2005-06-30 Hrvoje Niksic - - * Makefile.src.bor: Correct location of OBJS dependency. - -2005-06-29 Hrvoje Niksic - - * config.h.ms: Ditto. - - * config.h.bor: Explicitly include config-post.h. - -2005-06-29 Gisle Vanem - - * 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 - - * config.h.bor: Ditto. - - * config.h.mingw: Don't explicitly include malloc.h, mswindows.h - does that. - -2005-06-23 Hrvoje Niksic - - * config.h.bor: Ditto. - - * config.h.ms: Remove obsolete symbols. - -2005-06-23 Hrvoje Niksic - - * Makefile.watcom: Removed. - -2005-06-22 Hrvoje Niksic - - * Makefile.src*: Add the config.h dependency. - -2005-06-22 Hrvoje Niksic - - * Makefile.src, Makefile.src.bor, Makefile.src.mingw: Make OBJS - depend on all headers. - - * wget.dep: Removed. - -2005-04-05 Mauro Tortonesi - - * 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 - - * 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 - - * 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. - diff --git a/windows/Makefile.am b/windows/Makefile.am deleted file mode 100644 index 89ae9df5..00000000 --- a/windows/Makefile.am +++ /dev/null @@ -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 . - -# 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 diff --git a/windows/Makefile.doc b/windows/Makefile.doc deleted file mode 100644 index b70c5860..00000000 --- a/windows/Makefile.doc +++ /dev/null @@ -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 . - -# 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 - diff --git a/windows/Makefile.src b/windows/Makefile.src deleted file mode 100644 index 78bbd118..00000000 --- a/windows/Makefile.src +++ /dev/null @@ -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 . - -# 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 diff --git a/windows/Makefile.src.bor b/windows/Makefile.src.bor deleted file mode 100644 index 6b6e1f40..00000000 --- a/windows/Makefile.src.bor +++ /dev/null @@ -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 diff --git a/windows/Makefile.src.mingw b/windows/Makefile.src.mingw deleted file mode 100644 index 54ec326c..00000000 --- a/windows/Makefile.src.mingw +++ /dev/null @@ -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} diff --git a/windows/Makefile.top b/windows/Makefile.top deleted file mode 100644 index 2d92006d..00000000 --- a/windows/Makefile.top +++ /dev/null @@ -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 . - -# 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 diff --git a/windows/Makefile.top.bor b/windows/Makefile.top.bor deleted file mode 100644 index 1952a559..00000000 --- a/windows/Makefile.top.bor +++ /dev/null @@ -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 . - -# 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 - diff --git a/windows/Makefile.top.mingw b/windows/Makefile.top.mingw deleted file mode 100644 index 7ac99b54..00000000 --- a/windows/Makefile.top.mingw +++ /dev/null @@ -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 . - -# 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: diff --git a/windows/README b/windows/README deleted file mode 100644 index 16fa36a0..00000000 --- a/windows/README +++ /dev/null @@ -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 -. 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 -; 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 -- the initial work on the Windows - port; - -* Tim Charron -- additional cleanup and - contribution of the (now retired) Watcom makefile; - -* John Burden -- 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. diff --git a/windows/config-compiler.h b/windows/config-compiler.h deleted file mode 100644 index f2c657fc..00000000 --- a/windows/config-compiler.h +++ /dev/null @@ -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 . - -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 */ - - -/* ------------------ */ -/* 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 */ - - -/* -------------------- */ -/* 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 , 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 */ - -#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 diff --git a/windows/config.h b/windows/config.h deleted file mode 100644 index b70ee88d..00000000 --- a/windows/config.h +++ /dev/null @@ -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 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 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 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 header file. */ -/* #undef HAVE_STDINT_H */ - -/* Define to 1 if you have the 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 header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_SELECT_H */ - -/* Define to 1 if you have the 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 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 header file. */ -#define HAVE_UTIME_H 1 - -/* Define to 1 if you have the 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 does not define. */ -/* #undef pid_t */ - -/* Define to `unsigned' if 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" -