|
|
|
@ -19058,7 +19058,35 @@ _ACEOF |
|
|
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* end confdefs.h. */ |
|
|
|
|
#include <sys/types.h> |
|
|
|
|
#include <sys/select.h> |
|
|
|
|
|
|
|
|
|
_ACEOF |
|
|
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
|
|
$EGREP "fd_mask" >/dev/null 2>&1; then |
|
|
|
|
have_fd_set=yes |
|
|
|
|
fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
|
|
|
|
|
if test $have_fd_set = yes; then |
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
#define HAVE_SYS_SELECT_H 1 |
|
|
|
|
_ACEOF |
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: result: yes, found in sys/select.h" >&5 |
|
|
|
|
echo "${ECHO_T}yes, found in sys/select.h" >&6; } |
|
|
|
|
else |
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* confdefs.h. */ |
|
|
|
|
_ACEOF |
|
|
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* end confdefs.h. */ |
|
|
|
|
#include <sys/time.h> |
|
|
|
|
#include <sys/types.h> |
|
|
|
|
#ifdef HAVE_UNISTD_H |
|
|
|
|
#include <unistd.h> |
|
|
|
|
#endif |
|
|
|
|
int |
|
|
|
|
main () |
|
|
|
|
{ |
|
|
|
@ -19093,42 +19121,18 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
if test $have_fd_set = yes; then |
|
|
|
|
{ echo "$as_me:$LINENO: result: yes, found in sys/types.h" >&5 |
|
|
|
|
if test $have_fd_set = yes; then |
|
|
|
|
{ echo "$as_me:$LINENO: result: yes, found in sys/types.h" >&5 |
|
|
|
|
echo "${ECHO_T}yes, found in sys/types.h" >&6; } |
|
|
|
|
else |
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* confdefs.h. */ |
|
|
|
|
_ACEOF |
|
|
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* end confdefs.h. */ |
|
|
|
|
#include <sys/select.h> |
|
|
|
|
|
|
|
|
|
_ACEOF |
|
|
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
|
|
$EGREP "fd_mask" >/dev/null 2>&1; then |
|
|
|
|
have_fd_set=yes |
|
|
|
|
fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
|
|
|
|
|
if test $have_fd_set = yes; then |
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
#define HAVE_SYS_SELECT_H 1 |
|
|
|
|
_ACEOF |
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: result: yes, found in sys/select.h" >&5 |
|
|
|
|
echo "${ECHO_T}yes, found in sys/select.h" >&6; } |
|
|
|
|
else |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
#define NO_FD_SET 1 |
|
|
|
|
_ACEOF |
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
|
|
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
|
|
|
echo "${ECHO_T}no" >&6; } |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking default FD_SETSIZE value" >&5 |
|
|
|
|