|
|
|
@ -17,6 +17,7 @@ cmake_minimum_required( VERSION 2.8 )
|
|
|
|
|
include( CheckCXXSourceCompiles )
|
|
|
|
|
include( CheckFunctionExists )
|
|
|
|
|
include( CheckSymbolExists )
|
|
|
|
|
include( CheckPrototypeDefinition )
|
|
|
|
|
include( CheckIncludeFile )
|
|
|
|
|
include( CheckLibraryExists )
|
|
|
|
|
include( FindPkgConfig )
|
|
|
|
@ -113,6 +114,9 @@ check_function_exists( memcpy HAVE_MEMCPY )
|
|
|
|
|
check_function_exists( bcopy HAVE_BCOPY )
|
|
|
|
|
set( CMAKE_REQUIRED_LIBRARIES ${bak_CMAKE_REQUIRED_LIBRARIES} )
|
|
|
|
|
unset( bak_CMAKE_REQUIRED_LIBRARIES )
|
|
|
|
|
check_prototype_definition( ioctl "int ioctl(int d, int request, ...)" "-1" "unistd.h;sys/ioctl.h" HAVE_IOCTL_INT_INT_DOTS )
|
|
|
|
|
check_prototype_definition( ioctl "int ioctl(int d, unsigned long request, ...)" "-1" "unistd.h;sys/ioctl.h" HAVE_IOCTL_INT_ULONG_DOTS )
|
|
|
|
|
check_prototype_definition( ioctl "int ioctl(int d, unsigned long int request, ...)" "-1" "unistd.h;sys/ioctl.h" HAVE_IOCTL_INT_ULONGINT_DOTS )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for audiofile #######################
|
|
|
|
|