summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitf8e26b123c70d132dbfa22c2e16841a9202ede30 (patch)
tree1b6a1312deb92f850cfeb16817c096ad722705f2 /llvm/cmake
parent3a3c0fd2d1760f8ec2eb130527698bf79bebe1e5 (diff)
downloadbcm5719-llvm-f8e26b123c70d132dbfa22c2e16841a9202ede30.tar.gz
bcm5719-llvm-f8e26b123c70d132dbfa22c2e16841a9202ede30.zip
Platform tests for argz_* functions.
Patch by arrowdodger! llvm-svn: 123376
Diffstat (limited to 'llvm/cmake')
-rwxr-xr-xllvm/cmake/config-ix.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index c08948824c2..e1959faa9d1 100755
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/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 )
OpenPOWER on IntegriCloud