You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeadmin/kdat/ConfigureChecks.cmake

20 lines
496 B

#################################################
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 3
#
#################################################
check_cxx_source_compiles("
#include <sys/mtio.h>
int main() {
struct mtget tapeStatus;
return GMT_EOF ( tapeStatus.mt_gstat );
}"
HAVE_MTGET_GSTAT
)
if( NOT HAVE_MTGET_GSTAT )
tde_message_fatal( "It is required to build kdat, but mtget does not contain mt_gstat." )
endif( )