LoadCommand test: cleanup

This removes some useless checking. The results of these things are never
properly checked so they should not count as testcases. At the end they only
needlessly clutter the output.
This commit is contained in:
Rolf Eike Beer 2011-10-06 12:04:12 +02:00
parent b8ff1c1e72
commit 1531c11168
3 changed files with 0 additions and 15 deletions

View File

@ -5,9 +5,6 @@ IF (MUDSLIDE_TYPE MATCHES MUCHO)
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE) ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO) ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
IF(WATCOM)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
ENDIF(WATCOM)
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source) INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c) ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)

View File

@ -12,12 +12,6 @@ INCLUDE (CheckFunctionExists)
CHECK_FUNCTION_EXISTS(printf HAVE_PRINTF) CHECK_FUNCTION_EXISTS(printf HAVE_PRINTF)
CHECK_FUNCTION_EXISTS(vsblabla HAVE_VSBLABLA) CHECK_FUNCTION_EXISTS(vsblabla HAVE_VSBLABLA)
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
CHECK_INCLUDE_FILE("sys/prctl.h" HAVE_SYS_PRCTL_H)
INCLUDE (${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake)
CHECK_LIBRARY_EXISTS(m ceil "" HAVE_LIBM)
CONFIGURE_FILE(${LoadCommand_SOURCE_DIR}/LoadedCommand.h.in CONFIGURE_FILE(${LoadCommand_SOURCE_DIR}/LoadedCommand.h.in
${LoadCommand_BINARY_DIR}/LoadedCommand.h) ${LoadCommand_BINARY_DIR}/LoadedCommand.h)

View File

@ -5,9 +5,3 @@
/* Check for functions */ /* Check for functions */
#cmakedefine HAVE_PRINTF #cmakedefine HAVE_PRINTF
#cmakedefine HAVE_VSBLABLA #cmakedefine HAVE_VSBLABLA
/* Check for headers */
#cmakedefine HAVE_SYS_PRCTL_H
/* Check for libraries */
#cmakedefine HAVE_LIBM