| 388 |
dnl socklen_t は sys/socket.h や bits/socket.h で定義されているので、 |
dnl socklen_t は sys/socket.h や bits/socket.h で定義されているので、 |
| 389 |
dnl AC_CHECK_TYPE では検出できない |
dnl AC_CHECK_TYPE では検出できない |
| 390 |
dnl |
dnl |
| 391 |
dnl AC_MSG_CHECKING(for socklen_t) |
AC_MSG_CHECKING(for socklen_t) |
| 392 |
dnl AC_EGREP_CPP(socklen_t, [#include <sys/socket.h>], AC_MSG_RESULT(yes), |
AC_EGREP_CPP(socklen_t, [#include <sys/socket.h>], AC_MSG_RESULT(yes), |
| 393 |
dnl [ |
[ |
| 394 |
dnl AC_DEFINE(socklen_t, int) |
AC_DEFINE(socklen_t, int) |
| 395 |
dnl AC_MSG_RESULT(no) |
AC_MSG_RESULT(no) |
| 396 |
dnl ]) |
]) |
| 397 |
AC_CHECK_TYPES(socklen_t,, |
dnl code below is for the same thing with autoconf 2.53 |
| 398 |
AC_DEFINE(socklen_t, int), |
dnl AC_CHECK_TYPES(socklen_t,, |
| 399 |
[INCLUDES = sys/socket.h]) |
dnl AC_DEFINE(socklen_t, int), |
| 400 |
|
dnl [INCLUDES = sys/socket.h]) |
| 401 |
|
|
| 402 |
dnl |
dnl |
| 403 |
dnl Checks for symbol |
dnl Checks for symbol |
| 428 |
dnl FreeWnn do not use the 3rd parameter of wait3(). |
dnl FreeWnn do not use the 3rd parameter of wait3(). |
| 429 |
dnl AC_FUNC_WAIT3 |
dnl AC_FUNC_WAIT3 |
| 430 |
|
|
| 431 |
AC_CHECK_FUNCS(drand48 fchmod \ |
AC_CHECK_FUNCS(drand48 fchmod getopt \ |
| 432 |
gethostname select socket closesocket setsockopt send recv \ |
gethostname select socket closesocket setsockopt send recv \ |
| 433 |
getdtablesize getrlimit syslog vsyslog setenv snprintf) |
getdtablesize getrlimit syslog vsyslog setenv snprintf) |
| 434 |
dnl for bcopy/index -> memcpy/strchr conversion (preparation): |
dnl for bcopy/index -> memcpy/strchr conversion (preparation): |