diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2004-10-02 22:17:18 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2004-10-02 22:17:18 +0000 |
commit | 0b221d42517b5c351bc60958a5a0b52d42cc4ed5 (patch) | |
tree | 1a0cd251407b539cf05cfe024c81687bc467c7fc | |
parent | c6516f281870f3a84954c2cc28e8ddbbf5fa3322 (diff) | |
download | neon-0b221d42517b5c351bc60958a5a0b52d42cc4ed5.tar.gz |
* macros/neon.m4: Check for socket() in ws2_32 for CygWin.
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@267 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r-- | macros/neon.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4 index 0d74014..d288daa 100644 --- a/macros/neon.m4 +++ b/macros/neon.m4 @@ -502,7 +502,8 @@ char *stpcpy(char *, const char *); # Unixware 7 can only link gethostbyname with -lnsl -lsocket # Pick up -lsocket first, then the gethostbyname check will work. # QNX has gethostbyname in -lsocket. BeOS only has it in -lbind. -NE_SEARCH_LIBS(socket, socket inet) +# CygWin/Winsock2 has it in -lws2_32, allegedly. +NE_SEARCH_LIBS(socket, socket inet ws2_32) NE_SEARCH_LIBS(gethostbyname, socket nsl bind) # Enable getaddrinfo() support only if all the necessary functions |