diff options
author | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-09 21:12:19 +0000 |
---|---|---|
committer | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-09 21:12:19 +0000 |
commit | ffce70aa489aab06d9ff1bd738ed0405d537af18 (patch) | |
tree | 0c7475da2f2007e2b7bfbe4c3412b38afb2b6a45 | |
parent | 2d8481bd26a4b612f65281586cc931c63bac4a90 (diff) | |
download | navit-svn-ffce70aa489aab06d9ff1bd738ed0405d537af18.tar.gz |
Fix:build/cmake:Check for gettimeofday
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4320 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | config.h.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4656cc85..67f28552 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,6 +93,7 @@ CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL) CHECK_INCLUDE_FILES(sys/time.h HAVE_SYS_TIME_H) CHECK_INCLUDE_FILES(getopt.h HAVE_GETOPT_H) CHECK_INCLUDE_FILES(string.h HAVE_STRING_H) +CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY) ### Configure build #Required libraries, supplied with navit diff --git a/config.h.cmake b/config.h.cmake index 8bde361f..3cc79c37 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -60,6 +60,7 @@ #cmakedefine HAVE_POPEN 1 #cmakedefine HAVE_GETOPT_H 1 +#cmakedefine HAVE_GETTIMEOFDAY 1 #cmakedefine HAVE__ATOI64 1 |