|
|
|
@ -164,6 +164,17 @@ if ( BUILD_KSIM )
|
|
|
|
|
tde_message_fatal( "netsnmp is required, but was not found on your system" )
|
|
|
|
|
endif ()
|
|
|
|
|
endif( WITH_SNMP )
|
|
|
|
|
|
|
|
|
|
check_library_exists( devstat selectdevs "" HAVE_DEVSTAT_SELECTDEVS )
|
|
|
|
|
if( HAVE_DEVSTAT_SELECTDEVS )
|
|
|
|
|
set( DEVSTAT_LIBRARIES devstat )
|
|
|
|
|
else( )
|
|
|
|
|
check_library_exists( devstat devstat_selectdevs "" HAVE_DEVSTAT_DEVSTAT_SELECTDEVS )
|
|
|
|
|
if( HAVE_DEVSTAT_DEVSTAT_SELECTDEVS )
|
|
|
|
|
set( DEVSTAT_LIBRARIES devstat )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( HAVE_DEVSTAT_SELECTDEVS )
|
|
|
|
|
|
|
|
|
|
endif ( BUILD_KSIM )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -185,6 +196,13 @@ if ( BUILD_SUPERKARAMBA )
|
|
|
|
|
if( WITH_XMMS )
|
|
|
|
|
set( HAVE_XMMS 1 )
|
|
|
|
|
endif( WITH_XMMS )
|
|
|
|
|
|
|
|
|
|
if( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
|
|
|
|
|
check_library_exists( kvm kvm_getswapinfo "" HAVE_LIBKVM )
|
|
|
|
|
if( HAVE_LIBKVM )
|
|
|
|
|
set( LIBKVM_LIBRARIES kvm )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( )
|
|
|
|
|
endif ( BUILD_SUPERKARAMBA )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|