X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;h=d2c176f2bd269b46fc1c2e5fcf0b24881afcb654;hb=f6d5c2083b97d865f0dc9c4e7b98c667f940dc37;hp=c89ae1c9cbb7d69ac0d09e37b280f7a307760860;hpb=bb6e98ff6a611cc68068e4d84d49b9aa3761ef2a;p=cln.git diff --git a/CMakeLists.txt b/CMakeLists.txt index c89ae1c..d2c176f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ set(cl_config_files include/cln/config.h include/cln/host_cpu.h include/cln/intparam.h - src/cl_config.h + autoconf/cl_config.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/timing/cl_t_config.h @@ -135,9 +135,15 @@ set(CMAKE_REQUIRED_LIBRARIES ${_save_required_libraries}) test_big_endian(cl_cv_bigendian_p) if(cl_cv_bigendian_p) - set(cln_cpu_big_endian 1) + set(short_big_endian 1 CACHE INTERNAL "CPU is big endian") + set(int_big_endian 1 CACHE INTERNAL "CPU is big endian") + set(long_big_endian 1 CACHE INTERNAL "CPU is big endian") + set(long_long_big_endian 1 CACHE INTERNAL "CPU is big endian") else() - set(cln_cpu_big_endian 0) + set(short_little_endian 1 CACHE INTERNAL "CPU is little endian") + set(int_little_endian 1 CACHE INTERNAL "CPU is little endian") + set(long_little_endian 1 CACHE INTERNAL "CPU is little endian") + set(long_long_little_endian 1 CACHE INTERNAL "CPU is little endian") endif() include(AsmUnderscore)