|
|
|
@ -1412,7 +1412,7 @@ fi |
|
|
|
|
dnl Check if <sys/select.h> needs to be included for fd_set |
|
|
|
|
AC_MSG_CHECKING([for fd_set]) |
|
|
|
|
AC_HEADER_EGREP([fd_mask], [sys/select.h], [have_fd_set=yes]) |
|
|
|
|
if test $have_fd_set = yes; then |
|
|
|
|
if test "$have_fd_set" = yes; then |
|
|
|
|
AC_DEFINE([HAVE_SYS_SELECT_H], 1, "have <sys/select.h>") |
|
|
|
|
AC_MSG_RESULT([yes, found in sys/select.h]) |
|
|
|
|
else |
|
|
|
@ -1422,7 +1422,7 @@ else |
|
|
|
|
#include <unistd.h> |
|
|
|
|
#endif], |
|
|
|
|
[fd_set readMask, writeMask;], have_fd_set=yes, have_fd_set=no) |
|
|
|
|
if test $have_fd_set = yes; then |
|
|
|
|
if test "$have_fd_set" = yes; then |
|
|
|
|
AC_MSG_RESULT([yes, found in sys/types.h]) |
|
|
|
|
else |
|
|
|
|
AC_DEFINE([NO_FD_SET], 1, "no fd_set") |
|
|
|
|