mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Andrs Garca's problems on the mailing list made me realize that we can't
allow this script to simply detect a gethostbyname_r() if it can't figure out how to use it. From now on, this script will fail when that happens.
This commit is contained in:
parent
669709f80e
commit
ad1abee441
@ -295,6 +295,14 @@ exit (rc != 0 ? 1 : 0); }],[
|
|||||||
[ac_cv_gethostbyname_args=0])],
|
[ac_cv_gethostbyname_args=0])],
|
||||||
[ac_cv_gethostbyname_args=0])])
|
[ac_cv_gethostbyname_args=0])])
|
||||||
|
|
||||||
|
if test "$ac_cv_func_gethostbyname_r" = "yes"; then
|
||||||
|
if test "$ac_cv_gethostbyname_args" = "0"; then
|
||||||
|
dnl there's a gethostbyname_r() function, but we don't know how
|
||||||
|
dnl many arguments it wants!
|
||||||
|
AC_MSG_ERROR([couldn't figure out how to use gethostbyname_r()])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user