Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] kill useless endianess testing: we don't use it
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 19 Oct 2015 23:35:16 +0000 (01:35 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 19 Oct 2015 23:36:41 +0000 (01:36 +0200)
CMakeLists.txt
tools/cmake/src/internal_config.h.in

index e1e5d54..2fe4ab6 100644 (file)
@@ -267,8 +267,6 @@ include(CheckIncludeFile)
 include(CheckIncludeFiles)
 include(CheckLibraryExists)
 include(CheckSymbolExists)
-include(TestBigEndian)
-TEST_BIG_ENDIAN(BIGENDIAN)
 
 include(FindGraphviz)
 include(FindLibSigc++)
index 96a9cda..1cd052f 100644 (file)
 /* Tracking of latency bound */
 #cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@
 
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-#  define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* #  undef WORDS_BIGENDIAN */
-# endif
-#endif
-
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */
 #cmakedefine YYTEXT_POINTER