problem detect os type
mariadb Darwin (OSX ) Windows API
(Windows) _strtoi64 = strtoll (Unix)
http://msdn.microsoft.com/en-us/library/h80404d3(v=vs.90).aspx
_________
/usr/local/Library/ENV/4.3/clang -DCHECK_FUNCTION_EXISTS=_strtoi64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec1005542383.dir/CheckFunctionExists.c.o -o cmTryCompileExec1005542383
Undefined symbols for architecture x86_64:
"__strtoi64", referenced from:
_main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTryCompileExec1005542383] Error 1
make: *** [cmTryCompileExec1005542383/fast] Error 2
Replicated via homebrew on OS X Mavericks.
https://github.com/mxcl/homebrew/issues/24489
Log files:
CMakeCache.txt - https://gist.github.com/7548516
01.cmake - https://gist.github.com/7548483
01.cmake.cc - https://gist.github.com/7548629
CMakeError.log - https://gist.github.com/7548418
CMakeOutput.log - https://gist.github.com/7548403