From 7465301962f51ca6503333273403e82b459f89c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 2 Feb 2017 01:42:02 +0100 Subject: Fix detection whether the system is big endian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 1458cc35b20c25c30db011c3ce958b7bd5d62c34) --- ConfigureChecks.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index c0bcd225..6789c4c0 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -11,6 +11,9 @@ tde_setup_architecture_flags( ) +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + ##### check for gcc visibility support ######### # FIXME # This should check for [T]Qt3 visibility support @@ -25,6 +28,10 @@ if( WITH_GCC_VISIBILITY ) endif( ) +if( BUILD_KMAIL ) + check_include_file( "byteswap.h" HAVE_BYTESWAP_H ) +endif( ) + if( BUILD_LIBTDEPIM OR BUILD_KMAIL ) option( TDEPIM_NEW_DISTRLISTS "Define if you want to use the new distribution lists" ON ) endif( ) -- cgit v1.2.3