################################################# # # Improvements and feedback are welcome # # This file is released under GPL >= 3 # ################################################# check_cxx_source_compiles(" #include 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( )