diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-08-26 18:11:25 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-08-26 18:11:25 +0000 |
commit | 19a54725044b8c7338aa86d0edf75dec1bae93a8 (patch) | |
tree | 42bd2e32c8419e93fc9bdbe589d3183176f85954 /cmake | |
parent | 3d592524502b834dc5add1c38027dec25cbf4063 (diff) | |
download | external_llvm-19a54725044b8c7338aa86d0edf75dec1bae93a8.zip external_llvm-19a54725044b8c7338aa86d0edf75dec1bae93a8.tar.gz external_llvm-19a54725044b8c7338aa86d0edf75dec1bae93a8.tar.bz2 |
[cmake] Check for realpath availability in CMake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 681a4d6..3bf7583 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -160,6 +160,7 @@ check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY) check_symbol_exists(getrlimit "sys/types.h;sys/time.h;sys/resource.h" HAVE_GETRLIMIT) check_symbol_exists(posix_spawn spawn.h HAVE_POSIX_SPAWN) check_symbol_exists(pread unistd.h HAVE_PREAD) +check_symbol_exists(realpath stdlib.h HAVE_REALPATH) check_symbol_exists(sbrk unistd.h HAVE_SBRK) check_symbol_exists(srand48 stdlib.h HAVE_RAND48_SRAND48) if( HAVE_RAND48_SRAND48 ) |