summaryrefslogtreecommitdiffstats
path: root/kdat/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/configure.in.in')
-rw-r--r--kdat/configure.in.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/kdat/configure.in.in b/kdat/configure.in.in
new file mode 100644
index 0000000..9f09880
--- /dev/null
+++ b/kdat/configure.in.in
@@ -0,0 +1,10 @@
+AC_MSG_CHECKING(whether sys/mtio.h defines GMT_EOF and mtget has a member mt_gstat)
+AC_LANG_C
+AC_TRY_COMPILE(
+[#include <sys/mtio.h>],
+[struct mtget tapeStatus; GMT_EOF ( tapeStatus.mt_gstat );],
+[AC_MSG_RESULT(yes)],
+[ DO_NOT_COMPILE="$DO_NOT_COMPILE kdat"
+ AC_MSG_RESULT([no...Skipping kdat]) ]
+)
+