diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-04 00:47:09 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-04 00:47:09 +0000 |
commit | d1280c194b388663044f002a34aa9cc00c4feb97 (patch) | |
tree | e1f90fd0d3509c77c2581e318d84311a2d497b84 /cmake | |
parent | c93822901aef17aaf8bb1303f27b47025fd1d582 (diff) | |
download | llvm-d1280c194b388663044f002a34aa9cc00c4feb97.tar.gz llvm-d1280c194b388663044f002a34aa9cc00c4feb97.tar.bz2 llvm-d1280c194b388663044f002a34aa9cc00c4feb97.tar.xz |
Add support for futimens for platforms that don't support futimes.
Patch by pashev.igor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index d0d8531bff..14762f87fa 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -136,6 +136,8 @@ check_symbol_exists(log10 math.h HAVE_LOG10) check_symbol_exists(exp math.h HAVE_EXP) check_symbol_exists(exp2 math.h HAVE_EXP2) check_symbol_exists(exp10 math.h HAVE_EXP10) +check_symbol_exists(futimens sys/stat.h HAVE_FUTIMENS) +check_symbol_exists(futimes sys/time.h HAVE_FUTIMES) if( HAVE_SETJMP_H ) check_symbol_exists(longjmp setjmp.h HAVE_LONGJMP) check_symbol_exists(setjmp setjmp.h HAVE_SETJMP) |