summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-01-13 15:06:32 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-01-13 15:06:32 +0000
commit60b531270b412621bf3d94186e96a38920ae78e8 (patch)
tree9b1d10ba03fd9a53cad70873a20a8948fe8fcaec /cmake
parent53ad861193e44454cd3051ddb34fae398827ab6c (diff)
downloadllvm-60b531270b412621bf3d94186e96a38920ae78e8.tar.gz
llvm-60b531270b412621bf3d94186e96a38920ae78e8.tar.bz2
llvm-60b531270b412621bf3d94186e96a38920ae78e8.tar.xz
Platform tests for argz_* functions.
Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index c08948824c..e1959faa9d 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -113,6 +113,13 @@ check_symbol_exists(setenv stdlib.h HAVE_SETENV)
if ( LLVM_ON_WIN32 )
check_symbol_exists(_chsize_s io.h HAVE__CHSIZE_S)
endif()
+if( HAVE_ARGZ_H )
+ check_symbol_exists(argz_append argz.h HAVE_ARGZ_APPEND)
+ check_symbol_exists(argz_create_sep argz.h HAVE_ARGZ_CREATE_SEP)
+ check_symbol_exists(argz_insert argz.h HAVE_ARGZ_INSERT)
+ check_symbol_exists(argz_next argz.h HAVE_ARGZ_NEXT)
+ check_symbol_exists(argz_stringify argz.h HAVE_ARGZ_STRINGIFY)
+endif()
check_symbol_exists(__GLIBC__ stdio.h LLVM_USING_GLIBC)
if( LLVM_USING_GLIBC )