cmake: add endian check, thx to Jose and pdv

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26469 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2008-09-20 19:43:52 +00:00
parent 47821c7a2c
commit f712b9840f
2 changed files with 4 additions and 0 deletions

View File

@ -13,7 +13,9 @@ include(CheckLibraryExists)
include(CheckTypeSize)
include(CheckCXXSourceCompiles)
include(MacroBoolTo01)
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
check_include_file_cxx(aspell.h HAVE_ASPELL_H)
check_include_file_cxx(aspell/aspell.h HAVE_ASPELL_ASPELL_H)

View File

@ -18,6 +18,8 @@
#include "pcheaders.h"
#endif
#cmakedefine WORDS_BIGENDIAN 1
#cmakedefine HAVE_ASPELL_ASPELL_H 1
#cmakedefine HAVE_ASPELL_H 1