2009-08-03 13:59:48 +08:00
|
|
|
INCLUDE( CheckIncludeFile )
|
|
|
|
INCLUDE( CheckFunctionExists )
|
|
|
|
|
|
|
|
SET( PACKAGE ${PACKAGE_NAME} )
|
|
|
|
SET( VERSION ${PACKAGE_VERSION} )
|
|
|
|
|
|
|
|
SET( BINARYDIR ${CMAKE_BINARY_DIR} )
|
|
|
|
SET( SOURCEDIR ${CMAKE_SOURCE_DIR} )
|
|
|
|
|
|
|
|
# HEADER FILES
|
|
|
|
CHECK_INCLUDE_FILE( sys/byteorder.h HAVE_SYS_BYTEORDER_H )
|
2009-09-12 23:47:39 +08:00
|
|
|
CHECK_INCLUDE_FILE( AvailabilityMacros.h HAVE_AVAILABILITY_MACROS_H )
|
|
|
|
CHECK_INCLUDE_FILE( TargetConditionals.h HAVE_TARGET_CONDITIONALS_H )
|
2009-08-03 13:59:48 +08:00
|
|
|
|
|
|
|
# FUNCTIONS
|
2009-08-10 08:56:46 +08:00
|
|
|
CHECK_FUNCTION_EXISTS( sysconf HAVE_SYSCONF )
|