Commit f5ca2e89 authored by Ghislain MARY's avatar Ghislain MARY

Remove useless checks when building with CMake.

parent 3133d2ef
......@@ -44,25 +44,8 @@ option(ENABLE_MEMTRACE "Enable CUnit internal memory tracking" OFF)
option(ENABLE_DEPRECATED "Enable use of deprecated v1.1 names" OFF)
include(CheckIncludeFile)
include(CheckFunctionExists)
check_include_file("assert.h" HAVE_ASSERT_H)
check_include_file("ctype.h" HAVE_CTYPE_H)
check_include_file("dlfcn.h" HAVE_DLFCN_H)
check_include_file("file.h" HAVE_FILE_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file("math.h" HAVE_MATH_H)
check_include_file("memory.h" HAVE_MEMORY_H)
check_include_file("stdint.h" HAVE_STDINT_H)
check_include_file("stdio.h" HAVE_STDIO_H)
check_include_file("stdlib.h" HAVE_STDLIB_H)
check_include_file("strings.h" HAVE_STRINGS_H)
check_include_file("string.h" HAVE_STRING_H)
check_include_file("sys/stat.h" HAVE_SYS_STAT_H)
check_include_file("sys/types.h" HAVE_SYS_TYPES_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
macro(check_function_exists_fail FUNCTION)
string(TOUPPER ${FUNCTION} UPPER_FUNCTION)
check_function_exists("${FUNCTION}" HAVE_${UPPER_FUNCTION})
......
......@@ -28,19 +28,3 @@
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
#cmakedefine VERSION "@VERSION@"
#cmakedefine HAVE_ASSERT_H
#cmakedefine HAVE_CTYPE_H
#cmakedefine HAVE_DLFCN_H
#cmakedefine HAVE_FILE_H
#cmakedefine HAVE_INTTYPES_H
#cmakedefine HAVE_MATH_H
#cmakedefine HAVE_MEMORY_H
#cmakedefine HAVE_STDINT_H
#cmakedefine HAVE_STDIO_H
#cmakedefine HAVE_STDLIB_H
#cmakedefine HAVE_STRINGS_H
#cmakedefine HAVE_STRING_H
#cmakedefine HAVE_SYS_STAT_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_UNISTD_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment