cURL / Mailing Lists / curl-users / Single Mail

curl-users

Patch for DJGPP build

From: Doug Kaufman <dkaufman_at_rahul.net>
Date: Sun, 20 Nov 2005 23:18:31 -0800 (PST)

I hadn't built curl for DOS with DJGPP since version 7.10.5. The
7.15.0 version didn't build cleanly, at least using a configure
method. I didn't try to use the preconfigured files from Gisle.
Attached are the patch and the script that I used to compile 7.15.0.
I did this using the DOS versions of the autoconfigure tools,
regenerating the makefiles, config.h files, and configure. The biggest
problem was that the configure script is set to look very hard for
functions (such as pipe), without checking if they work or not.
Even preconfiguring an autoconfigure value of "no" wasn't enough to
make configure stop saying "yes". This complicates the picture when
DJGPP/WATT32 have functions like "pipe" and "gethostbyname_r" which
exist but which don't really work.

With this patch, users should have the choice of using the
preconfigured files, or using configure when compiling for DJGPP.
                   Doug

-- 
Doug Kaufman
Internet: dkaufman_at_rahul.net

Received on 2005-11-22