diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-03 04:23:07 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-03 04:23:07 +0000 |
commit | 254f35ca4a9bd1a12f0ea263aa7434c62056bf8b (patch) | |
tree | 42f024f3dbf3c36402a81d4e067d982b331e54fa /cmake | |
parent | 855ff183b9f688c9444285bc62ba708b910a66c4 (diff) | |
download | external_llvm-254f35ca4a9bd1a12f0ea263aa7434c62056bf8b.zip external_llvm-254f35ca4a9bd1a12f0ea263aa7434c62056bf8b.tar.gz external_llvm-254f35ca4a9bd1a12f0ea263aa7434c62056bf8b.tar.bz2 |
Platform tests for `sys/uio.h' header and `writev' function.
This is the cmake equivalent for r124769.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 4cb68df..31fd632 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -66,6 +66,7 @@ check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) check_include_file(sys/stat.h HAVE_SYS_STAT_H) check_include_file(sys/time.h HAVE_SYS_TIME_H) check_include_file(sys/types.h HAVE_SYS_TYPES_H) +check_include_file(sys/uio.h HAVE_SYS_UIO_H) check_include_file(sys/wait.h HAVE_SYS_WAIT_H) check_include_file(termios.h HAVE_TERMIOS_H) check_include_file(unistd.h HAVE_UNISTD_H) @@ -104,6 +105,9 @@ if( HAVE_SETJMP_H ) check_symbol_exists(siglongjmp setjmp.h HAVE_SIGLONGJMP) check_symbol_exists(sigsetjmp setjmp.h HAVE_SIGSETJMP) endif() +if( HAVE_SYS_UIO_H ) + check_symbol_exists(writev sys/uio.h HAVE_WRITEV) +endif() check_symbol_exists(nearbyintf math.h HAVE_NEARBYINTF) check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO) check_symbol_exists(malloc_zone_statistics malloc/malloc.h |