rktio: configure adjustment intended to fix OpenIndiana build

This commit is contained in:
Matthew Flatt 2017-06-24 17:06:06 -06:00
parent 44eb5532ad
commit 7a8145875c
3 changed files with 5 additions and 1 deletions

View File

@ -3313,6 +3313,8 @@ fi
case "$host_os" in
solaris2*)
# Need these libs so that `getaddrinfo` is found:
LIBS="$LIBS -lsocket -lnsl -lintl"
try_poll_syscall="no" # poll() has performance problems on Solaris?
use_flag_pthread="no"
use_flag_posix_pthread="yes"

View File

@ -54,6 +54,8 @@ AC_CHECK_LIB(dl, dlopen)
case "$host_os" in
solaris2*)
# Need these libs so that `getaddrinfo` is found:
LIBS="$LIBS -lsocket -lnsl -lintl"
try_poll_syscall="no" # poll() has performance problems on Solaris?
use_flag_pthread="no"
use_flag_posix_pthread="yes"

View File

@ -203,7 +203,7 @@ struct rktio_addrinfo_t {
#endif
/*****************************************************************/
/* Fallback using gethostbyname where getddrinfo isn't avaulable */
/* Fallback using gethostbyname where getddrinfo isn't available */
#ifdef HAVE_GETADDRINFO
# define rktio_AI_PASSIVE AI_PASSIVE