Backport:
B-g#27427: resolveip fails on hostnames with a leading digit We need inet_aton for the extra/resolveip tool. Some OSes put this in nonstandard libraries. configure.in: We need inet_aton for the extra/resolveip tool.
This commit is contained in:
parent
2879da7f84
commit
c717287c22
@ -791,6 +791,7 @@ AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
|
|||||||
AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
|
AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
|
||||||
# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
|
# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
|
||||||
AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
|
AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
|
||||||
|
AC_SEARCH_LIBS(inet_aton, [socket nsl resolv])
|
||||||
|
|
||||||
# For the sched_yield() function on Solaris
|
# For the sched_yield() function on Solaris
|
||||||
AC_CHECK_FUNC(sched_yield, , AC_CHECK_LIB(posix4, sched_yield))
|
AC_CHECK_FUNC(sched_yield, , AC_CHECK_LIB(posix4, sched_yield))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user