Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] remove some more useless tests (and includes)
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 6 Mar 2016 23:39:03 +0000 (00:39 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 6 Mar 2016 23:39:08 +0000 (00:39 +0100)
CMakeLists.txt
src/simix/smx_global.cpp
tools/cmake/src/internal_config.h.in

index 03a797d..599581a 100644 (file)
@@ -278,7 +278,6 @@ else()
 endif()
 
 CHECK_INCLUDE_FILE("valgrind/valgrind.h" HAVE_VALGRIND_VALGRIND_H)
-CHECK_INCLUDE_FILE("sys/ptrace.h" HAVE_SYS_PTRACE_H)
 CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
 CHECK_INCLUDE_FILE("execinfo.h" HAVE_EXECINFO_H)
 CHECK_INCLUDE_FILE("signal.h" HAVE_SIGNAL_H)
index 1b89846..5c47af3 100644 (file)
@@ -6,10 +6,6 @@
 
 #include <stdlib.h>
 #include "src/portable.h"
-#ifdef HAVE_SYS_PTRACE_H
-# include <sys/types.h>
-# include <sys/ptrace.h>
-#endif
 
 #include "src/surf/surf_interface.hpp"
 #include "src/surf/storage_interface.hpp"
index b3e571d..753c6e1 100644 (file)
@@ -12,8 +12,6 @@
 #cmakedefine HAVE_EXECINFO_H          @HAVE_EXECINFO_H@           /* <execinfo.h> */
 #cmakedefine HAVE_FUTEX_H             @HAVE_FUTEX_H@              /* <linux/futex.h> */
 #cmakedefine HAVE_SIGNAL_H            @HAVE_SIGNAL_H@             /* <signal.h> */
-#cmakedefine HAVE_SYS_PTRACE_H        @HAVE_SYS_PTRACE_H@         /* <sys/ptrace.h> */
-#cmakedefine HAVE_SYS_TYPES_H         @HAVE_SYS_TYPES_H@          /* <sys/types.h> */
 #cmakedefine HAVE_UNISTD_H            @HAVE_UNISTD_H@             /* <unistd.h>    */
 #cmakedefine HAVE_UCONTEXT_H          @HAVE_UCONTEXT_H@           /* <ucontext.h>  */
 #cmakedefine HAVE_VALGRIND_VALGRIND_H @HAVE_VALGRIND_VALGRIND_H@  /* <valgrind/valgrind.h> */