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.
Этот коммит содержится в:
родитель
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_int16_t, unsigned short)
|
||||||
AC_CHECK_TYPE(u_int8_t, unsigned char)
|
AC_CHECK_TYPE(u_int8_t, unsigned char)
|
||||||
|
|
||||||
AC_MSG_CHECKING([for socklen_t])
|
dnl
|
||||||
AC_TRY_COMPILE([
|
dnl The check for socklen_t is already done in the configure.ac
|
||||||
#include <sys/types.h>
|
dnl
|
||||||
#include <sys/socket.h>
|
dnl AC_MSG_CHECKING([for socklen_t])
|
||||||
],
|
dnl AC_TRY_COMPILE([
|
||||||
[socklen_t x;],
|
dnl #include <sys/types.h>
|
||||||
AC_MSG_RESULT([yes]),
|
dnl #include <sys/socket.h>
|
||||||
[AC_MSG_RESULT([no])
|
dnl ],
|
||||||
AC_DEFINE(socklen_t, unsigned int,
|
dnl [socklen_t x;],
|
||||||
[Define to unsigned int if you dont have it])]
|
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: Save the libobj sources
|
||||||
OMPI_LIBEVENT_SOURCES="$sources"
|
OMPI_LIBEVENT_SOURCES="$sources"
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user