summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-04 00:47:09 +0000
committerEric Christopher <echristo@gmail.com>2013-07-04 00:47:09 +0000
commitd1280c194b388663044f002a34aa9cc00c4feb97 (patch)
treee1f90fd0d3509c77c2581e318d84311a2d497b84 /cmake
parentc93822901aef17aaf8bb1303f27b47025fd1d582 (diff)
downloadllvm-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-xcmake/config-ix.cmake2
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)