Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS

This commit is contained in:
Daniel Stenberg 2008-05-26 15:09:28 +00:00
parent f26154bfa9
commit b97606f0b0
4 changed files with 15 additions and 2 deletions

View File

@ -7,6 +7,9 @@
Changelog Changelog
Daniel Stenberg (26 May 2008)
- Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS.
Yang Tse (26 May 2008) Yang Tse (26 May 2008)
- David Rosenstrauch reported that header files spnegohelp.h and - David Rosenstrauch reported that header files spnegohelp.h and
openssl/objects.h were needed to compile SPNEGO support. openssl/objects.h were needed to compile SPNEGO support.

View File

@ -36,6 +36,7 @@ This release includes the following bugfixes:
o multi interface busy loop for CONNECT requests o multi interface busy loop for CONNECT requests
o internal time differences now use monotonic time source if available o internal time differences now use monotonic time source if available
o several curl_multi_socket() fixes o several curl_multi_socket() fixes
o builds fine for Haiku OS
This release includes the following known bugs: This release includes the following known bugs:
@ -58,6 +59,6 @@ advice from friends like these:
Rafa Muyo, Andre Guibert de Bruet, Brock Noland, Sandor Feldi, Stefan Krause, Rafa Muyo, Andre Guibert de Bruet, Brock Noland, Sandor Feldi, Stefan Krause,
David Shaw, Norbert Frese, Bart Whiteley, Jean-Francois Bertrand, Ben Van Hof, David Shaw, Norbert Frese, Bart Whiteley, Jean-Francois Bertrand, Ben Van Hof,
Yuriy Sosov, Christopher Palow, Yang Tse, Liam Healy, Nikolai Kondrashov, Yuriy Sosov, Christopher Palow, Yang Tse, Liam Healy, Nikolai Kondrashov,
David Rosenstrauch David Rosenstrauch, Andreas Faerber, Scott McCreary
Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)

View File

@ -592,6 +592,15 @@ then
]) ])
fi fi
if test "$HAVE_GETHOSTBYNAME" != "1"
then
dnl gethostbyname in the network lib - for Haiku OS
AC_CHECK_LIB(network, gethostbyname,
[HAVE_GETHOSTBYNAME="1"
LIBS="$LIBS -lnetwork"
])
fi
if test "$HAVE_GETHOSTBYNAME" != "1" if test "$HAVE_GETHOSTBYNAME" != "1"
then then
dnl gethostbyname in the net lib - for BeOS dnl gethostbyname in the net lib - for BeOS

View File

@ -34,7 +34,7 @@
#error "We can't compile without select() or poll() support." #error "We can't compile without select() or poll() support."
#endif #endif
#ifdef __BEOS__ #if defined(__BEOS__) && !defined(__HAIKU__)
/* BeOS has FD_SET defined in socket.h */ /* BeOS has FD_SET defined in socket.h */
#include <socket.h> #include <socket.h>
#endif #endif