From 86ddcf4540e2c93370475c1988adb24993ef05ec Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 20 Oct 2015 01:35:16 +0200 Subject: [PATCH] [cmake] kill useless endianess testing: we don't use it --- CMakeLists.txt | 2 -- tools/cmake/src/internal_config.h.in | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e1e5d54c42..2fe4ab6ea8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,8 +267,6 @@ include(CheckIncludeFile) include(CheckIncludeFiles) include(CheckLibraryExists) include(CheckSymbolExists) -include(TestBigEndian) -TEST_BIG_ENDIAN(BIGENDIAN) include(FindGraphviz) include(FindLibSigc++) diff --git a/tools/cmake/src/internal_config.h.in b/tools/cmake/src/internal_config.h.in index 96a9cda2bb..1cd052fc85 100644 --- a/tools/cmake/src/internal_config.h.in +++ b/tools/cmake/src/internal_config.h.in @@ -271,18 +271,6 @@ /* 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 -- 2.20.1