- fix the check for socklen_t. It is never defined unless you include

sys/socket.h, duh.
This commit is contained in:
Bryce Denney 2002-03-08 05:45:51 +00:00
parent 9b03cd05e5
commit bef9401a16
2 changed files with 276 additions and 275 deletions

549
bochs/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -101,7 +101,7 @@ AC_CHECK_FUNCS(sleep, AC_DEFINE(BX_HAVE_SLEEP))
AC_CHECK_FUNCS(usleep, AC_DEFINE(BX_HAVE_USLEEP))
AC_CHECK_FUNCS(nanosleep, AC_DEFINE(BX_HAVE_NANOSLEEP))
AC_CHECK_FUNCS(abort, AC_DEFINE(BX_HAVE_ABORT))
AC_CHECK_TYPE(socklen_t, AC_DEFINE(BX_HAVE_SOCKLEN_T))
AC_CHECK_TYPE(socklen_t, AC_DEFINE(BX_HAVE_SOCKLEN_T), , [#include <sys/socket.h>])
AC_MSG_CHECKING(for struct timeval)
AC_TRY_COMPILE([#include <sys/time.h>],