+2002-03-19 Chin-yuan Kuo <sr1111111@yahoo.com.tw>
+
+ * configure.bat.in: Do not check %BORPATH% as C++Builder compiler
+ does not use it.
+ * windows/Makefile.src.bor:
+ * windows/config.h.bor:
+ Migrated to free (as in beer) C++Builder compiler.
+
2002-03-13 Ian Abbott <abbotti@mev.co.uk>
* configure.bat: Removed (renamed to configure.bat.ini).
if .%1 == .--borland goto :borland
if .%1 == .--msvc goto :msvc
if .%1 == .--watcom goto :watcom
-if not .%BORPATH% == . goto :borland
-if not .%1 == . goto :usage
+goto :usage
:msvc
copy windows\config.h.ms src\config.h > nul
goto :end
:usage
-echo Usage: Configure [--borland | --msvc | --watcom]
+echo "Usage: configure [--borland | --msvc | --watcom]"
:end
## Makefile for use with watcom win95/winnt executable.
CC=bcc32
-LINK=tlink32
+LINK=ilink32
LFLAGS=
-CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -H -H=wget.csm -w-
+CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -H -H=wget.csm -w- -O2
## variables
OBJS=cmpt.obj connect.obj fnmatch.obj ftp.obj ftp-basic.obj \
- ftp-ls.obj ftp-opie.obj getopt.obj headers.obj host.obj html.obj \
+ ftp-ls.obj ftp-opie.obj getopt.obj headers.obj host.obj html-parse.obj html-url.obj \
http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj rbuf.obj \
- alloca.obj \
+ safe-ctype.obj hash.obj progress.obj gen-md5.obj cookies.obj \
recur.obj res.obj retr.obj url.obj utils.obj version.obj mswindows.obj
LIBDIR=$(MAKEDIR)\..\lib
$(LINK) @&&|
$(LFLAGS) -Tpe -ap -c +
$(LIBDIR)\c0x32.obj+
-alloca.obj+
+cookies.obj+
+hash.obj+
+safe-ctype.obj+
version.obj+
utils.obj+
url.obj+
log.obj+
init.obj+
http.obj+
-html.obj+
+html-parse.obj+
+html-url.obj+
host.obj+
headers.obj+
getopt.obj+
#ifndef CONFIG_H
#define CONFIG_H
+#define HAVE_MEMMOVE
+#define ftruncate chsize
+#define inline __inline
+
/* Define if you have the <alloca.h> header file. */
#undef HAVE_ALLOCA_H
#pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
+# include <malloc.h>
# endif
# endif
# endif
#define HAVE_BUILTIN_MD5 1
/* Define if you have the isatty function. */
-#undef HAVE_ISATTY
+#define HAVE_ISATTY
#endif /* CONFIG_H */