curl-library
Re: gethostbyname & MinGW build problem
From: Gour <gour_at_mail.inet.hr>
Date: Sun, 21 Dec 2003 20:29:59 +0100
Date: Sun, 21 Dec 2003 20:29:59 +0100
Daniel Stenberg (daniel-curl_at_haxx.se) wrote:
> I would love to have this work for curl too.
On MinGW/MSYS list I got suggestion that curl's configure scripte should
include search for gethostbyname() in ws2_32 libs and the code should include
#include <winsock2.h>
Since I'm not really familiar with autoconf mechanism, can you give me some
suggestion how to modify configure.ac to include required items? (I have tried
with AC_SEARCH_LIBS(gethostbyname, ws2_32), but it is not enough- it probably
requires winsock2.h where gethostname is declared.)
Sincerely,
Gour
-- Gour gour_at_mail.inet.hr Registered Linux User #278493 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=clickReceived on 2003-12-21