summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommand/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 18:17:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 18:17:32 (GMT)
commit571c483ad85a3e820d5ecfa0f4d682f7f678f154 (patch)
tree2787182cedf94315ea55c4cd7d2fc22fb1da872c /Tests/LoadCommand/CMakeLists.txt
parent1d0d6850493b725b49f9889f20412dbdbee74554 (diff)
downloadCMake-571c483ad85a3e820d5ecfa0f4d682f7f678f154.zip
CMake-571c483ad85a3e820d5ecfa0f4d682f7f678f154.tar.gz
CMake-571c483ad85a3e820d5ecfa0f4d682f7f678f154.tar.bz2
Include more testing
Diffstat (limited to 'Tests/LoadCommand/CMakeLists.txt')
-rw-r--r--Tests/LoadCommand/CMakeLists.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt
index fa9e5ac..e369661 100644
--- a/Tests/LoadCommand/CMakeLists.txt
+++ b/Tests/LoadCommand/CMakeLists.txt
@@ -12,9 +12,17 @@ CHECK_TYPE_SIZE("long long" SIZEOF_LONG_LONG)
CHECK_TYPE_SIZE(__int64 SIZEOF___INT64)
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
-CHECK_FUNCTION_EXISTS(vsprintf HAVE_VSPRINTF)
-CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
-CHECK_FUNCTION_EXISTS(vsblabla HAVE_VSBLABLA)
+CHECK_FUNCTION_EXISTS(vsprintf HAVE_VSPRINTF)
+CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
+CHECK_FUNCTION_EXISTS(vsblabla HAVE_VSBLABLA)
+CHECK_FUNCTION_EXISTS(gethostbyname HAVE_GETHOSTBYNAME)
+CHECK_FUNCTION_EXISTS(connect HAVE_CONNECT)
+CHECK_FUNCTION_EXISTS(remove HAVE_REMOVE)
+CHECK_FUNCTION_EXISTS(shmat HAVE_SHMAT)
+
+INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
+CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
+CHECK_INCLUDE_FILE("sys/prafasdfctl.h" HAVE_SYS_PRAFASDFCTL_H)
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)