Do the microsoft checks.
This commit was SVN r17790.
Этот коммит содержится в:
родитель
ebcf928c24
Коммит
79d292fe31
@ -104,6 +104,11 @@ m4_include(config/ompi_config_solaris_threads.m4)
|
||||
m4_include(config/ompi_config_threads.m4)
|
||||
m4_include(config/ompi_lang_link_with_c.m4)
|
||||
|
||||
#
|
||||
# Include the macros for Windows checking
|
||||
#
|
||||
m4_include(config/ompi_microsoft.m4)
|
||||
|
||||
#
|
||||
# The config/mca_no_configure_components.m4 file is generated by
|
||||
# autogen.sh
|
||||
|
@ -111,17 +111,6 @@ AC_DEFUN([OMPI_MICROSOFT_COMPILER],[
|
||||
AC_DEFINE([pid_t], [intptr_t], [Windows pid_t type is a pointer])
|
||||
AC_DEFINE_UNQUOTED([SIZEOF_PID_T], $ac_cv_sizeof_int,
|
||||
[and here is it's size])
|
||||
AC_CHECK_TYPES([socklen_t], [AC_DEFINE([HAVE_SOCKLEN_T], [1],
|
||||
[Whether we have socklen_t or not])],
|
||||
[AC_DEFINE(socklen_t, unsigned int,
|
||||
[Define to unsigned int if you dont have it])],
|
||||
[#include <winsock2.h>
|
||||
#include <ws2tcpip.h>])
|
||||
|
||||
AC_CHECK_TYPES([struct sockaddr_in], [], [],
|
||||
[AC_INCLUDES_DEFAULT
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>])
|
||||
|
||||
LDFLAGS="$SAVE_LDFLAGS"
|
||||
fi
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user