mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
patched 7.2 configure to work!
This commit is contained in:
parent
61c4342736
commit
1cedcce3e9
10
configure.in
10
configure.in
@ -298,13 +298,12 @@ char * address;
|
|||||||
int length;
|
int length;
|
||||||
int type;
|
int type;
|
||||||
struct hostent h;
|
struct hostent h;
|
||||||
char buffer[10];
|
char buffer[8192];
|
||||||
int buflen;
|
|
||||||
int h_errnop;
|
int h_errnop;
|
||||||
struct hostent * hp;
|
struct hostent * hp;
|
||||||
|
|
||||||
hp = gethostbyaddr_r(address, length, type, &h,
|
hp = gethostbyaddr_r(address, length, type, &h,
|
||||||
buffer, buflen, &h_errnop);],[
|
buffer, 8192, &h_errnop);],[
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7)
|
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7)
|
||||||
ac_cv_gethostbyaddr_args=7],[
|
ac_cv_gethostbyaddr_args=7],[
|
||||||
@ -317,14 +316,13 @@ char * address;
|
|||||||
int length;
|
int length;
|
||||||
int type;
|
int type;
|
||||||
struct hostent h;
|
struct hostent h;
|
||||||
char buffer[10];
|
char buffer[8192];
|
||||||
int buflen;
|
|
||||||
int h_errnop;
|
int h_errnop;
|
||||||
struct hostent * hp;
|
struct hostent * hp;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
rc = gethostbyaddr_r(address, length, type, &h,
|
rc = gethostbyaddr_r(address, length, type, &h,
|
||||||
buffer, buflen, &hp, &h_errnop);],[
|
buffer, 8192, &hp, &h_errnop);],[
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8)
|
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8)
|
||||||
ac_cv_gethostbyaddr_args=8],[
|
ac_cv_gethostbyaddr_args=8],[
|
||||||
|
Loading…
Reference in New Issue
Block a user