1
1

Comment out the second check for socklen_t. We already check it once in the

main configure. Should be removed in the near future.

This commit was SVN r8536.
Этот коммит содержится в:
George Bosilca 2005-12-17 22:12:45 +00:00
родитель 4d1be7f4fe
Коммит bb26d44166

Просмотреть файл

@ -297,17 +297,20 @@ AC_CHECK_TYPE(u_int32_t, unsigned int)
AC_CHECK_TYPE(u_int16_t, unsigned short)
AC_CHECK_TYPE(u_int8_t, unsigned char)
AC_MSG_CHECKING([for socklen_t])
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
],
[socklen_t x;],
AC_MSG_RESULT([yes]),
[AC_MSG_RESULT([no])
AC_DEFINE(socklen_t, unsigned int,
[Define to unsigned int if you dont have it])]
)
dnl
dnl The check for socklen_t is already done in the configure.ac
dnl
dnl AC_MSG_CHECKING([for socklen_t])
dnl AC_TRY_COMPILE([
dnl #include <sys/types.h>
dnl #include <sys/socket.h>
dnl ],
dnl [socklen_t x;],
dnl AC_MSG_RESULT([yes]),
dnl [AC_MSG_RESULT([no])
dnl AC_DEFINE(socklen_t, unsigned int,
dnl [Define to unsigned int if you dont have it])]
dnl )
# OMPI: Save the libobj sources
OMPI_LIBEVENT_SOURCES="$sources"