mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Marcin Konicki provided two configure fixes and a source fix to make curl
build out-of-the-box on BeOS.
This commit is contained in:
parent
99befd3a15
commit
58f4af7973
4
CHANGES
4
CHANGES
@ -7,6 +7,10 @@
|
||||
Changelog
|
||||
|
||||
|
||||
Daniel (22 December 2004)
|
||||
- Marcin Konicki provided two configure fixes and a source fix to make curl
|
||||
build out-of-the-box on BeOS.
|
||||
|
||||
Daniel (21 December 2004)
|
||||
- Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
|
||||
-w option support 'http_connect' to make it easier to verify!
|
||||
|
@ -87,9 +87,7 @@ AC_DEFINE(HAVE_IOCTLSOCKET_CASE, 1, [use Ioctlsocket() for non-blocking sockets]
|
||||
dnl Ioctlsocket didnt compile, do test 5!
|
||||
AC_TRY_COMPILE([
|
||||
/* headers for SO_NONBLOCK test (BeOS) */
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <socket.h>
|
||||
],[
|
||||
/* SO_NONBLOCK source code */
|
||||
long b = 1;
|
||||
|
10
configure.ac
10
configure.ac
@ -314,6 +314,16 @@ then
|
||||
)
|
||||
fi
|
||||
|
||||
if test "$HAVE_GETHOSTBYNAME" != "1"
|
||||
then
|
||||
dnl gethostbyname in the net lib - for BeOS
|
||||
AC_CHECK_LIB(net, gethostbyname,
|
||||
[HAVE_GETHOSTBYNAME="1"
|
||||
LIBS="$LIBS -lnet"
|
||||
])
|
||||
fi
|
||||
|
||||
|
||||
if test "$HAVE_GETHOSTBYNAME" = "1"; then
|
||||
AC_DEFINE(HAVE_GETHOSTBYNAME, 1, [If you have gethostbyname])
|
||||
else
|
||||
|
@ -39,6 +39,11 @@
|
||||
|
||||
#include "select.h"
|
||||
|
||||
#ifdef __BEOS__
|
||||
/* BeOS has FD_SET defined in socket.h */
|
||||
#include <socket.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define VALID_SOCK(s) (1) /* Win-sockets are not in range [0..FD_SETSIZE> */
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user