diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-23 09:25:36 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-23 09:25:36 +0200 |
commit | ea0315ed880c6419bbc97549b10ecb6ba6ae2c00 (patch) | |
tree | 4c0719358aad644c8833a4ad4efd38b19d6e1536 /ConfigureChecks.cmake | |
parent | 85a5eb94998763c43149b97b81f0a4b4904c6da8 (diff) | |
download | libssh-ea0315ed880c6419bbc97549b10ecb6ba6ae2c00.tar.gz libssh-ea0315ed880c6419bbc97549b10ecb6ba6ae2c00.tar.xz libssh-ea0315ed880c6419bbc97549b10ecb6ba6ae2c00.zip |
Add cmake check for big endian.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 14abf09..d18035b 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -4,6 +4,7 @@ include(CheckFunctionExists) include(CheckLibraryExists) include(CheckTypeSize) include(CheckCXXSourceCompiles) +include(TestBigEndian) set(PACKAGE ${APPLICATION_NAME}) set(VERSION ${APPLICATION_VERSION}) @@ -55,3 +56,5 @@ if (WITH_DEBUG_CRYPTO) set(DEBUG_CRYPTO 1) endif (WITH_DEBUG_CRYPTO) +# ENDIAN +test_big_endian(WORDS_BIGENDIAN) |