rktio: configure
adjustment intended to fix OpenIndiana build
This commit is contained in:
parent
44eb5532ad
commit
7a8145875c
2
racket/src/rktio/configure
vendored
2
racket/src/rktio/configure
vendored
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user