From: Martin Quinson Date: Fri, 2 Oct 2015 05:28:14 +0000 (+0200) Subject: [cmake] remove tests for which we don't use the result X-Git-Tag: v3_12~71 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e261b0eaa1ad55f3df63105eb8c3040d90fb0e17?ds=sidebyside [cmake] remove tests for which we don't use the result --- diff --git a/tools/cmake/CompleteInFiles.cmake b/tools/cmake/CompleteInFiles.cmake index 8aed337eca..d724f6d0ef 100644 --- a/tools/cmake/CompleteInFiles.cmake +++ b/tools/cmake/CompleteInFiles.cmake @@ -169,9 +169,6 @@ CHECK_INCLUDE_FILE("sys/socket.h" HAVE_SYS_SOCKET_H) CHECK_INCLUDE_FILE("stat.h" HAVE_STAT_H) CHECK_INCLUDE_FILE("sys/stat.h" HAVE_SYS_STAT_H) CHECK_INCLUDE_FILE("windows.h" HAVE_WINDOWS_H) -CHECK_INCLUDE_FILE("winsock.h" HAVE_WINSOCK_H) -CHECK_INCLUDE_FILE("winsock2.h" HAVE_WINSOCK2_H) -CHECK_INCLUDE_FILE("windef.h" HAVE_WINDEF_H) CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H) CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) CHECK_INCLUDE_FILE("execinfo.h" HAVE_EXECINFO_H) diff --git a/tools/cmake/PrintArgs.cmake b/tools/cmake/PrintArgs.cmake index 34057bbb10..971b76820a 100644 --- a/tools/cmake/PrintArgs.cmake +++ b/tools/cmake/PrintArgs.cmake @@ -31,8 +31,6 @@ if(enable_print_message) message("HAVE_STAT_H .................: ${HAVE_STAT_H}") message("HAVE_SYS_STAT_H .............: ${HAVE_SYS_STAT_H}") message("HAVE_WINDOWS_H ..............: ${HAVE_WINDOWS_H}") - message("HAVE_WINSOCK_H ..............: ${HAVE_WINSOCK_H}") - message("HAVE_WINSOCK2_H .............: ${HAVE_WINSOCK2_H}") message("HAVE_ERRNO_H ................: ${HAVE_ERRNO_H}") message("HAVE_UNISTD_H ...............: ${HAVE_UNISTD_H}") message("HAVE_EXECINFO_H .............: ${HAVE_EXECINFO_H}") diff --git a/tools/cmake/src/internal_config.h.in b/tools/cmake/src/internal_config.h.in index 874b1dcecd..2095a52c68 100644 --- a/tools/cmake/src/internal_config.h.in +++ b/tools/cmake/src/internal_config.h.in @@ -244,12 +244,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@ -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_WINSOCK2_H @HAVE_WINSOCK2_H@ - -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_WINSOCK_H @HAVE_WINSOCK_H@ - /* Define to the sub-directory in which libtool stores uninstalled libraries.*/ #cmakedefine LT_OBJDIR @LT_OBJDIR@