summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-01-13 22:18:19 +0000
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-01-13 22:18:19 +0000
commit5d98d55f8d1016010dce2d644fd9a00fe936156f (patch)
treee3f13693882985a079e0bb4d8e53f75e56f95a61
parent3c3484bd00c1bc821803ab2300a40dbc3ed09d06 (diff)
downloadnavit-svn-5d98d55f8d1016010dce2d644fd9a00fe936156f.tar.gz
Add:Build/cmake:Detection of byteswap header
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3913 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--CMakeLists.txt1
-rw-r--r--config.h.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39e7f3ae..865791a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,6 +78,7 @@ endif(PKG_CONFIG_FOUND)
#Simple checks
CHECK_INCLUDE_FILES(wordexp.h HAVE_WORDEXP)
CHECK_INCLUDE_FILES(stdint.h HAVE_STDINT_H)
+CHECK_INCLUDE_FILES(byteswap.h HAVE_BYTESWAP_H)
CHECK_LIBRARY_EXISTS(gypsy gypsy_control_get_default "" GYPSY_FOUND)
CHECK_INCLUDE_FILES(libspeechd.h HAVE_LIBSPEECHD)
diff --git a/config.h.cmake b/config.h.cmake
index 32591a1d..3173f7bb 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -12,7 +12,7 @@
#cmakedefine AVOID_FLOAT 1
#cmakedefine AVOID_UNALIGNED 1
#cmakedefine USE_LIBGNUINTL 1
-
+#cmakedefine HAVE_BYTESWAP_H 1
/* Versions */
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"