Include more testing
This commit is contained in:
parent
1d0d685049
commit
571c483ad8
|
@ -12,9 +12,17 @@ CHECK_TYPE_SIZE("long long" SIZEOF_LONG_LONG)
|
||||||
CHECK_TYPE_SIZE(__int64 SIZEOF___INT64)
|
CHECK_TYPE_SIZE(__int64 SIZEOF___INT64)
|
||||||
|
|
||||||
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
|
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
|
||||||
CHECK_FUNCTION_EXISTS(vsprintf HAVE_VSPRINTF)
|
CHECK_FUNCTION_EXISTS(vsprintf HAVE_VSPRINTF)
|
||||||
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
|
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
|
||||||
CHECK_FUNCTION_EXISTS(vsblabla HAVE_VSBLABLA)
|
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
|
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
|
||||||
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* Check for size of types */
|
||||||
#cmakedefine SIZEOF_CHAR ${SIZEOF_CHAR}
|
#cmakedefine SIZEOF_CHAR ${SIZEOF_CHAR}
|
||||||
#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
|
#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
|
||||||
#cmakedefine SIZEOF_INT ${SIZEOF_INT}
|
#cmakedefine SIZEOF_INT ${SIZEOF_INT}
|
||||||
|
@ -5,7 +6,15 @@
|
||||||
#cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
|
#cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
|
||||||
#cmakedefine SIZEOF___INT64 ${SIZEOF___INT64}
|
#cmakedefine SIZEOF___INT64 ${SIZEOF___INT64}
|
||||||
|
|
||||||
|
/* Check for functions */
|
||||||
#cmakedefine HAVE_VSPRINTF
|
#cmakedefine HAVE_VSPRINTF
|
||||||
#cmakedefine HAVE_VSNPRINTF
|
#cmakedefine HAVE_VSNPRINTF
|
||||||
#cmakedefine HAVE_VSBLABLA
|
#cmakedefine HAVE_VSBLABLA
|
||||||
|
#cmakedefine HAVE_GETHOSTBYNAME
|
||||||
|
#cmakedefine HAVE_CONNECT
|
||||||
|
#cmakedefine HAVE_REMOVE
|
||||||
|
#cmakedefine HAVE_SHMAT
|
||||||
|
|
||||||
|
/* Check for headers */
|
||||||
|
#cmakedefine HAVE_SYS_PRCTL_H
|
||||||
|
#cmakedefine HAVE_SYS_PRAFASDFCTL_H
|
||||||
|
|
|
@ -12,9 +12,17 @@ CHECK_TYPE_SIZE("long long" SIZEOF_LONG_LONG)
|
||||||
CHECK_TYPE_SIZE(__int64 SIZEOF___INT64)
|
CHECK_TYPE_SIZE(__int64 SIZEOF___INT64)
|
||||||
|
|
||||||
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
|
INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
|
||||||
CHECK_FUNCTION_EXISTS(vsprintf HAVE_VSPRINTF)
|
CHECK_FUNCTION_EXISTS(vsprintf HAVE_VSPRINTF)
|
||||||
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
|
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
|
||||||
CHECK_FUNCTION_EXISTS(vsblabla HAVE_VSBLABLA)
|
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
|
CONFIGURE_FILE(${LoadedCommand_SOURCE_DIR}/LoadedCommand.h.in
|
||||||
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
${LoadedCommand_BINARY_DIR}/LoadedCommand.h)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* Check for size of types */
|
||||||
#cmakedefine SIZEOF_CHAR ${SIZEOF_CHAR}
|
#cmakedefine SIZEOF_CHAR ${SIZEOF_CHAR}
|
||||||
#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
|
#cmakedefine SIZEOF_SHORT ${SIZEOF_SHORT}
|
||||||
#cmakedefine SIZEOF_INT ${SIZEOF_INT}
|
#cmakedefine SIZEOF_INT ${SIZEOF_INT}
|
||||||
|
@ -5,7 +6,15 @@
|
||||||
#cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
|
#cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
|
||||||
#cmakedefine SIZEOF___INT64 ${SIZEOF___INT64}
|
#cmakedefine SIZEOF___INT64 ${SIZEOF___INT64}
|
||||||
|
|
||||||
|
/* Check for functions */
|
||||||
#cmakedefine HAVE_VSPRINTF
|
#cmakedefine HAVE_VSPRINTF
|
||||||
#cmakedefine HAVE_VSNPRINTF
|
#cmakedefine HAVE_VSNPRINTF
|
||||||
#cmakedefine HAVE_VSBLABLA
|
#cmakedefine HAVE_VSBLABLA
|
||||||
|
#cmakedefine HAVE_GETHOSTBYNAME
|
||||||
|
#cmakedefine HAVE_CONNECT
|
||||||
|
#cmakedefine HAVE_REMOVE
|
||||||
|
#cmakedefine HAVE_SHMAT
|
||||||
|
|
||||||
|
/* Check for headers */
|
||||||
|
#cmakedefine HAVE_SYS_PRCTL_H
|
||||||
|
#cmakedefine HAVE_SYS_PRAFASDFCTL_H
|
||||||
|
|
Loading…
Reference in New Issue