summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-03-24 18:56:56 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-03-24 18:56:56 (GMT)
commit408852c9051c582bef6fb02852837ff52b6ff651 (patch)
tree3263e856253b835f4047800bfc7fcee8235b0590
parent1ee298152192d1e9face9980b1335266ee402647 (diff)
downloadhdf5-408852c9051c582bef6fb02852837ff52b6ff651.zip
hdf5-408852c9051c582bef6fb02852837ff52b6ff651.tar.gz
hdf5-408852c9051c582bef6fb02852837ff52b6ff651.tar.bz2
[svn-r24880] add iod corrupt tool configure argument
-rw-r--r--Makefile.in2
-rw-r--r--c++/Makefile.in2
-rw-r--r--c++/examples/Makefile.in2
-rw-r--r--c++/src/Makefile.in2
-rw-r--r--c++/test/Makefile.in2
-rwxr-xr-xconfigure213
-rw-r--r--configure.ac81
-rw-r--r--examples/Makefile.in2
-rw-r--r--fortran/Makefile.in2
-rw-r--r--fortran/examples/Makefile.in2
-rw-r--r--fortran/src/Makefile.in2
-rw-r--r--fortran/test/Makefile.in2
-rw-r--r--fortran/testpar/Makefile.in2
-rw-r--r--hl/Makefile.in2
-rw-r--r--hl/c++/Makefile.in2
-rw-r--r--hl/c++/examples/Makefile.in2
-rw-r--r--hl/c++/src/Makefile.in2
-rw-r--r--hl/c++/test/Makefile.in2
-rw-r--r--hl/examples/Makefile.in2
-rw-r--r--hl/fortran/Makefile.in2
-rw-r--r--hl/fortran/examples/Makefile.in2
-rw-r--r--hl/fortran/src/Makefile.in2
-rw-r--r--hl/fortran/test/Makefile.in2
-rw-r--r--hl/src/Makefile.in2
-rw-r--r--hl/test/Makefile.in2
-rw-r--r--hl/tools/Makefile.in2
-rw-r--r--hl/tools/gif2h5/Makefile.in2
-rw-r--r--perform/Makefile.in2
-rw-r--r--src/H5X.c4
-rw-r--r--src/H5config.h.in6
-rw-r--r--src/Makefile.in2
-rw-r--r--test/Makefile.in2
-rw-r--r--testpar/Makefile.in2
-rw-r--r--tools/Makefile.in2
-rw-r--r--tools/h5copy/Makefile.in2
-rw-r--r--tools/h5diff/Makefile.in2
-rw-r--r--tools/h5dump/Makefile.in2
-rw-r--r--tools/h5import/Makefile.in2
-rw-r--r--tools/h5jam/Makefile.in2
-rw-r--r--tools/h5ls/Makefile.in2
-rw-r--r--tools/h5repack/Makefile.in2
-rw-r--r--tools/h5stat/Makefile.in2
-rw-r--r--tools/lib/Makefile.in2
-rw-r--r--tools/misc/Makefile.in2
44 files changed, 382 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index fdbf3d6..4d013e1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -284,6 +284,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -309,6 +310,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/c++/Makefile.in b/c++/Makefile.in
index 58d66ea..b9079bb 100644
--- a/c++/Makefile.in
+++ b/c++/Makefile.in
@@ -249,6 +249,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -274,6 +275,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index c55fff0..ff145c4 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -216,6 +216,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -241,6 +242,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/c++/src/Makefile.in b/c++/src/Makefile.in
index 95996bb..cafaff2 100644
--- a/c++/src/Makefile.in
+++ b/c++/src/Makefile.in
@@ -292,6 +292,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -317,6 +318,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in
index 13056e6..ae9c117 100644
--- a/c++/test/Makefile.in
+++ b/c++/test/Makefile.in
@@ -252,6 +252,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -277,6 +278,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/configure b/configure
index 646ddef..3e9aaa4 100755
--- a/configure
+++ b/configure
@@ -710,6 +710,7 @@ LL_PATH
USE_FILTER_SZIP
USE_FILTER_DEFLATE
MYIODP_LIBS
+MYIOD_CT_LIBS
MYIOD_LIBS
MYDAOS_LIBS
MYPLFS_LIBS
@@ -814,6 +815,7 @@ CODESTACK
INSTRUMENT
LARGEFILE
INDEXING
+IOD_CORRUPT_TOOL
EFF
PYTHON
GPFS
@@ -941,6 +943,7 @@ with_axe
with_plfs
with_daos
with_iod
+with_iod_corrupt_tool
with_iodp
with_zlib
with_szlib
@@ -1716,6 +1719,8 @@ Optional Packages:
--with-plfs=DIR Use plfs [default=no]
--with-daos=DIR Use daos [default=no]
--with-iod=DIR Use iod [default=no]
+ --with-iod-corrupt-tool=DIR
+ Use iod-corrupt-tool [default=no]
--with-iodp=DIR Use iodp [default=no]
--with-zlib=DIR Use zlib library for external deflate I/O filter
[default=yes]
@@ -4068,6 +4073,7 @@ $as_echo "done" >&6; }
GPFS=no
PYTHON=no
EFF=no
+ IOD_CORRUPT_TOOL=no
INDEXING=no
LARGEFILE=yes
@@ -26471,6 +26477,211 @@ esac
## If the library path is specified then it must be preceded by a comma.
##
+# Check whether --with-iod-corrupt-tool was given.
+if test "${with_iod_corrupt_tool+set}" = set; then :
+ withval=$with_iod_corrupt_tool;
+else
+ withval=no
+fi
+
+
+case $withval in
+ yes)
+ HAVE_IOD_CORRUPT_TOOL="yes"
+ for ac_header in iod_corrupt_tool.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "iod_corrupt_tool.h" "ac_cv_header_iod_corrupt_tool_h" "$ac_includes_default"
+if test "x$ac_cv_header_iod_corrupt_tool_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_IOD_CORRUPT_TOOL_H 1
+_ACEOF
+
+fi
+
+done
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for corrupt_data in -liodcorrupt" >&5
+$as_echo_n "checking for corrupt_data in -liodcorrupt... " >&6; }
+if ${ac_cv_lib_iodcorrupt_corrupt_data+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-liodcorrupt $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char corrupt_data ();
+#ifdef FC_DUMMY_MAIN
+#ifndef FC_DUMMY_MAIN_EQ_F77
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int FC_DUMMY_MAIN() { return 1; }
+#endif
+#endif
+int
+main ()
+{
+return corrupt_data ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_iodcorrupt_corrupt_data=yes
+else
+ ac_cv_lib_iodcorrupt_corrupt_data=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iodcorrupt_corrupt_data" >&5
+$as_echo "$ac_cv_lib_iodcorrupt_corrupt_data" >&6; }
+if test "x$ac_cv_lib_iodcorrupt_corrupt_data" = xyes; then :
+ MYIOD_CT_LIBS="-liodcorrupt"
+else
+ unset HAVE_IOD_CORRUPT_TOOL=
+fi
+
+
+ if test -z "$HAVE_IOD_CORRUPT_TOOL=" -a -n "$HDF5_CONFIG_ABORT"; then
+ as_fn_error $? "couldn't find iod corrupt tool library" "$LINENO" 5
+ fi
+ ;;
+ no)
+ HAVE_IOD_CORRUPT_TOOL=="no"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iod corrupt tool library" >&5
+$as_echo_n "checking for iod corrupt tool library... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: suppressed" >&5
+$as_echo "suppressed" >&6; }
+ ;;
+ *)
+ HAVE_IOD_CORRUPT_TOOL="yes"
+ case "$withval" in
+ *,*)
+ iod_ct_inc="`echo $withval |cut -f1 -d,`"
+ iod_ct_lib="`echo $withval |cut -f2 -d, -s`"
+ ;;
+ *)
+ if test -n "$withval"; then
+ iod_ct_inc="$withval/include"
+ iod_ct_lib="$withval/lib"
+ fi
+ ;;
+ esac
+
+ ## Trying to include -I/usr/include and -L/usr/lib is redundant and
+ ## can mess some compilers up.
+ if test "X$iod_ct_inc" = "X/usr/include"; then
+ iod_ct_inc=""
+ fi
+ if test "X$iod_ct_lib" = "X/usr/lib"; then
+ iod_ct_lib=""
+ fi
+
+ saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
+ saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
+
+ if test -n "$iod_ct_inc"; then
+ CPPFLAGS="$CPPFLAGS -I$iod_ct_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$iod_ct_inc"
+ fi
+
+ for ac_header in iod_corrupt_tool.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "iod_corrupt_tool.h" "ac_cv_header_iod_corrupt_tool_h" "$ac_includes_default"
+if test "x$ac_cv_header_iod_corrupt_tool_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_IOD_CORRUPT_TOOL_H 1
+_ACEOF
+
+else
+ CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"
+fi
+
+done
+
+
+ if test -n "$iod_ct_lib"; then
+ LDFLAGS="$LDFLAGS -L$iod_ct_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$iod_ct_lib"
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for corrupt_data in -liodcorrupt" >&5
+$as_echo_n "checking for corrupt_data in -liodcorrupt... " >&6; }
+if ${ac_cv_lib_iodcorrupt_corrupt_data+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-liodcorrupt LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_IOD_CORRUPT_TOOL $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char corrupt_data ();
+#ifdef FC_DUMMY_MAIN
+#ifndef FC_DUMMY_MAIN_EQ_F77
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int FC_DUMMY_MAIN() { return 1; }
+#endif
+#endif
+int
+main ()
+{
+return corrupt_data ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_iodcorrupt_corrupt_data=yes
+else
+ ac_cv_lib_iodcorrupt_corrupt_data=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iodcorrupt_corrupt_data" >&5
+$as_echo "$ac_cv_lib_iodcorrupt_corrupt_data" >&6; }
+if test "x$ac_cv_lib_iodcorrupt_corrupt_data" = xyes; then :
+
+$as_echo "#define HAVE_IOD_CORRUPT_TOOL 1" >>confdefs.h
+
+else
+ IOD_CORRUPT_TOOL="yes"
+fi
+
+
+ if test -z "$HAVE_IOD_CORRUPT_TOOL" -a -n "$HDF5_CONFIG_ABORT"; then
+ as_fn_error $? "couldn't find iod corrupt tool library" "$LINENO" 5
+ fi
+ ;;
+esac
+
+## ----------------------------------------------------------------------
+## Is the iod present? It has a header file `IOD.h' and a library
+## `-liod' and their locations might be specified with the `--with-iod'
+## command-line switch. The value is an include path and/or a library path.
+## If the library path is specified then it must be preceded by a comma.
+##
+
# Check whether --with-iodp was given.
if test "${with_iodp+set}" = set; then :
withval=$with_iodp;
@@ -30354,7 +30565,7 @@ fi
AM_CPPFLAGS="$AM_CPPFLAGS $MCHECKSUM_CFLAGS"
AM_LDFLAGS="$AM_LDFLAGS $MCHECKSUM_LIBS"
- for ac_header in axe.h iod_api.h iod_types.h
+ for ac_header in axe.h iod_api.h iod_types.h iod_corrupt_tool.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
diff --git a/configure.ac b/configure.ac
index 7cde6ed..8c099e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,6 +185,7 @@ AC_SUBST([HDF5_HL]) HDF5_HL=yes
AC_SUBST([GPFS]) GPFS=no
AC_SUBST([PYTHON]) PYTHON=no
AC_SUBST([EFF]) EFF=no
+AC_SUBST([IOD_CORRUPT_TOOL]) IOD_CORRUPT_TOOL=no
AC_SUBST([INDEXING]) INDEXING=no
AC_SUBST([LARGEFILE]) LARGEFILE=yes
AC_SUBST([INSTRUMENT])
@@ -1999,6 +2000,84 @@ esac
## command-line switch. The value is an include path and/or a library path.
## If the library path is specified then it must be preceded by a comma.
##
+AC_ARG_WITH([iod-corrupt-tool],
+ [AS_HELP_STRING([--with-iod-corrupt-tool=DIR],
+ [Use iod-corrupt-tool [default=no]])],,
+ [withval=no])
+
+case $withval in
+ yes)
+ HAVE_IOD_CORRUPT_TOOL="yes"
+ AC_CHECK_HEADERS([iod_corrupt_tool.h])
+ AC_CHECK_LIB([iodcorrupt], [corrupt_data],[MYIOD_CT_LIBS="-liodcorrupt"], [unset HAVE_IOD_CORRUPT_TOOL=])
+ AC_SUBST([MYIOD_CT_LIBS])
+ if test -z "$HAVE_IOD_CORRUPT_TOOL=" -a -n "$HDF5_CONFIG_ABORT"; then
+ AC_MSG_ERROR([couldn't find iod corrupt tool library])
+ fi
+ ;;
+ no)
+ HAVE_IOD_CORRUPT_TOOL=="no"
+ AC_MSG_CHECKING([for iod corrupt tool library])
+ AC_MSG_RESULT([suppressed])
+ ;;
+ *)
+ HAVE_IOD_CORRUPT_TOOL="yes"
+ case "$withval" in
+ *,*)
+ iod_ct_inc="`echo $withval |cut -f1 -d,`"
+ iod_ct_lib="`echo $withval |cut -f2 -d, -s`"
+ ;;
+ *)
+ if test -n "$withval"; then
+ iod_ct_inc="$withval/include"
+ iod_ct_lib="$withval/lib"
+ fi
+ ;;
+ esac
+
+ ## Trying to include -I/usr/include and -L/usr/lib is redundant and
+ ## can mess some compilers up.
+ if test "X$iod_ct_inc" = "X/usr/include"; then
+ iod_ct_inc=""
+ fi
+ if test "X$iod_ct_lib" = "X/usr/lib"; then
+ iod_ct_lib=""
+ fi
+
+ saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
+ saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
+
+ if test -n "$iod_ct_inc"; then
+ CPPFLAGS="$CPPFLAGS -I$iod_ct_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$iod_ct_inc"
+ fi
+
+ AC_CHECK_HEADERS([iod_corrupt_tool.h],,[CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"])
+
+ if test -n "$iod_ct_lib"; then
+ LDFLAGS="$LDFLAGS -L$iod_ct_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$iod_ct_lib"
+ fi
+
+ AC_CHECK_LIB([iodcorrupt], [corrupt_data],
+ [AC_DEFINE([HAVE_IOD_CORRUPT_TOOL], [1], [Define if IOD corruption code should be built])], IOD_CORRUPT_TOOL="yes",
+ [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_IOD_CORRUPT_TOOL],
+ )
+
+ if test -z "$HAVE_IOD_CORRUPT_TOOL" -a -n "$HDF5_CONFIG_ABORT"; then
+ AC_MSG_ERROR([couldn't find iod corrupt tool library])
+ fi
+ ;;
+esac
+
+## ----------------------------------------------------------------------
+## Is the iod present? It has a header file `IOD.h' and a library
+## `-liod' and their locations might be specified with the `--with-iod'
+## command-line switch. The value is an include path and/or a library path.
+## If the library path is specified then it must be preceded by a comma.
+##
AC_ARG_WITH([iodp],
[AS_HELP_STRING([--with-iodp=DIR],
[Use iodp [default=no]])],,
@@ -3104,7 +3183,7 @@ case "X-$enableval" in
AM_CPPFLAGS="$AM_CPPFLAGS $MCHECKSUM_CFLAGS"
AM_LDFLAGS="$AM_LDFLAGS $MCHECKSUM_LIBS"
- AC_CHECK_HEADERS([axe.h iod_api.h iod_types.h],
+ AC_CHECK_HEADERS([axe.h iod_api.h iod_types.h iod_corrupt_tool.h],
[AC_MSG_CHECKING([for EFF support])
AC_TRY_COMPILE([#include <axe.h>
#include <iod_api.h>
diff --git a/examples/Makefile.in b/examples/Makefile.in
index 8a0b960..0fa523f 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -216,6 +216,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -241,6 +242,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/fortran/Makefile.in b/fortran/Makefile.in
index 7c61fc6..9105a99 100644
--- a/fortran/Makefile.in
+++ b/fortran/Makefile.in
@@ -253,6 +253,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -278,6 +279,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in
index 6771bf7..80fe4aa 100644
--- a/fortran/examples/Makefile.in
+++ b/fortran/examples/Makefile.in
@@ -224,6 +224,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -249,6 +250,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/fortran/src/Makefile.in b/fortran/src/Makefile.in
index 1d6068f..733b6ee 100644
--- a/fortran/src/Makefile.in
+++ b/fortran/src/Makefile.in
@@ -343,6 +343,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -368,6 +369,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in
index e2e6951..650d832 100644
--- a/fortran/test/Makefile.in
+++ b/fortran/test/Makefile.in
@@ -327,6 +327,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -352,6 +353,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/fortran/testpar/Makefile.in b/fortran/testpar/Makefile.in
index bc397aa..4b78277 100644
--- a/fortran/testpar/Makefile.in
+++ b/fortran/testpar/Makefile.in
@@ -251,6 +251,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -276,6 +277,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/Makefile.in b/hl/Makefile.in
index adec89e..767f555 100644
--- a/hl/Makefile.in
+++ b/hl/Makefile.in
@@ -253,6 +253,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -278,6 +279,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/c++/Makefile.in b/hl/c++/Makefile.in
index 6e353a3..b68a2af 100644
--- a/hl/c++/Makefile.in
+++ b/hl/c++/Makefile.in
@@ -249,6 +249,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -274,6 +275,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/c++/examples/Makefile.in b/hl/c++/examples/Makefile.in
index 5bd0839..28fdea3 100644
--- a/hl/c++/examples/Makefile.in
+++ b/hl/c++/examples/Makefile.in
@@ -215,6 +215,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -240,6 +241,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/c++/src/Makefile.in b/hl/c++/src/Makefile.in
index 8bb959b..ec37c15 100644
--- a/hl/c++/src/Makefile.in
+++ b/hl/c++/src/Makefile.in
@@ -283,6 +283,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -308,6 +309,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/c++/test/Makefile.in b/hl/c++/test/Makefile.in
index a2beb48..4d2411e 100644
--- a/hl/c++/test/Makefile.in
+++ b/hl/c++/test/Makefile.in
@@ -248,6 +248,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -273,6 +274,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/examples/Makefile.in b/hl/examples/Makefile.in
index 9db7496..f034b6e 100644
--- a/hl/examples/Makefile.in
+++ b/hl/examples/Makefile.in
@@ -215,6 +215,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -240,6 +241,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/fortran/Makefile.in b/hl/fortran/Makefile.in
index 294c31c..438e295 100644
--- a/hl/fortran/Makefile.in
+++ b/hl/fortran/Makefile.in
@@ -253,6 +253,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -278,6 +279,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/fortran/examples/Makefile.in b/hl/fortran/examples/Makefile.in
index 6d749fd..e941592 100644
--- a/hl/fortran/examples/Makefile.in
+++ b/hl/fortran/examples/Makefile.in
@@ -216,6 +216,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -241,6 +242,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/fortran/src/Makefile.in b/hl/fortran/src/Makefile.in
index 44c9e57..ae4ae7b 100644
--- a/hl/fortran/src/Makefile.in
+++ b/hl/fortran/src/Makefile.in
@@ -299,6 +299,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -324,6 +325,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/fortran/test/Makefile.in b/hl/fortran/test/Makefile.in
index ba8cb6f..97af674 100644
--- a/hl/fortran/test/Makefile.in
+++ b/hl/fortran/test/Makefile.in
@@ -262,6 +262,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -287,6 +288,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/src/Makefile.in b/hl/src/Makefile.in
index d64478a..dea8af2 100644
--- a/hl/src/Makefile.in
+++ b/hl/src/Makefile.in
@@ -282,6 +282,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -307,6 +308,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/test/Makefile.in b/hl/test/Makefile.in
index 7e1457c..457b7a5 100644
--- a/hl/test/Makefile.in
+++ b/hl/test/Makefile.in
@@ -289,6 +289,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -314,6 +315,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/tools/Makefile.in b/hl/tools/Makefile.in
index ebebf94..5694291 100644
--- a/hl/tools/Makefile.in
+++ b/hl/tools/Makefile.in
@@ -250,6 +250,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -275,6 +276,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/hl/tools/gif2h5/Makefile.in b/hl/tools/gif2h5/Makefile.in
index 8dc4c7a..020ac8d 100644
--- a/hl/tools/gif2h5/Makefile.in
+++ b/hl/tools/gif2h5/Makefile.in
@@ -264,6 +264,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -289,6 +290,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/perform/Makefile.in b/perform/Makefile.in
index 0f5e92a..41ded3f 100644
--- a/perform/Makefile.in
+++ b/perform/Makefile.in
@@ -290,6 +290,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -315,6 +316,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/src/H5X.c b/src/H5X.c
index 259e703..36bc4cb 100644
--- a/src/H5X.c
+++ b/src/H5X.c
@@ -710,6 +710,7 @@ H5Pget_xapl_transaction(hid_t xapl_id, hid_t *trans_id)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
+ H5TRACE2("e", "i*i", xapl_id, trans_id);
if (NULL == (plist = H5P_object_verify(xapl_id, H5P_INDEX_ACCESS)))
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "not a xapl");
@@ -739,6 +740,7 @@ H5Pget_xapl_read_context(hid_t xapl_id, hid_t *rc_id)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
+ H5TRACE2("e", "i*i", xapl_id, rc_id);
if (NULL == (plist = H5P_object_verify(xapl_id, H5P_INDEX_ACCESS)))
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "not a xapl");
@@ -768,6 +770,7 @@ H5Pget_xxpl_transaction(hid_t xxpl_id, hid_t *trans_id)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
+ H5TRACE2("e", "i*i", xxpl_id, trans_id);
if (NULL == (plist = H5P_object_verify(xxpl_id, H5P_INDEX_XFER)))
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "not a xxpl");
@@ -797,6 +800,7 @@ H5Pget_xxpl_read_context(hid_t xxpl_id, hid_t *rc_id)
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)
+ H5TRACE2("e", "i*i", xxpl_id, rc_id);
if (NULL == (plist = H5P_object_verify(xxpl_id, H5P_INDEX_XFER)))
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "not a xxpl");
diff --git a/src/H5config.h.in b/src/H5config.h.in
index edff93f..d17cb59 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -208,6 +208,12 @@
/* Define to 1 if you have the <iod_api.h> header file. */
#undef HAVE_IOD_API_H
+/* Define if IOD corruption code should be built */
+#undef HAVE_IOD_CORRUPT_TOOL
+
+/* Define to 1 if you have the <iod_corrupt_tool.h> header file. */
+#undef HAVE_IOD_CORRUPT_TOOL_H
+
/* Define to 1 if you have the <iod_types.h> header file. */
#undef HAVE_IOD_TYPES_H
diff --git a/src/Makefile.in b/src/Makefile.in
index dc352ff..a69556f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -352,6 +352,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -377,6 +378,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/test/Makefile.in b/test/Makefile.in
index 4443389..9b1318c 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -682,6 +682,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -707,6 +708,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/testpar/Makefile.in b/testpar/Makefile.in
index ae8aa41..a3fdf31 100644
--- a/testpar/Makefile.in
+++ b/testpar/Makefile.in
@@ -277,6 +277,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -302,6 +303,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/Makefile.in b/tools/Makefile.in
index a89db3e..6d9a87b 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -250,6 +250,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -275,6 +276,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5copy/Makefile.in b/tools/h5copy/Makefile.in
index 9a7ef0d..0aec377 100644
--- a/tools/h5copy/Makefile.in
+++ b/tools/h5copy/Makefile.in
@@ -256,6 +256,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -281,6 +282,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in
index 68aa458..68b239d 100644
--- a/tools/h5diff/Makefile.in
+++ b/tools/h5diff/Makefile.in
@@ -263,6 +263,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -288,6 +289,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5dump/Makefile.in b/tools/h5dump/Makefile.in
index 1c758d8..ed36b74 100644
--- a/tools/h5dump/Makefile.in
+++ b/tools/h5dump/Makefile.in
@@ -258,6 +258,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -283,6 +284,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5import/Makefile.in b/tools/h5import/Makefile.in
index 10118a0..5732f11 100644
--- a/tools/h5import/Makefile.in
+++ b/tools/h5import/Makefile.in
@@ -256,6 +256,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -281,6 +282,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5jam/Makefile.in b/tools/h5jam/Makefile.in
index 1c421fa..1a51fd3 100644
--- a/tools/h5jam/Makefile.in
+++ b/tools/h5jam/Makefile.in
@@ -270,6 +270,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -295,6 +296,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5ls/Makefile.in b/tools/h5ls/Makefile.in
index f9738be..56b501d 100644
--- a/tools/h5ls/Makefile.in
+++ b/tools/h5ls/Makefile.in
@@ -250,6 +250,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -275,6 +276,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5repack/Makefile.in b/tools/h5repack/Makefile.in
index 361444b..ae02fa8 100644
--- a/tools/h5repack/Makefile.in
+++ b/tools/h5repack/Makefile.in
@@ -306,6 +306,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -331,6 +332,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/h5stat/Makefile.in b/tools/h5stat/Makefile.in
index dfee76a..9a767b9 100644
--- a/tools/h5stat/Makefile.in
+++ b/tools/h5stat/Makefile.in
@@ -285,6 +285,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -310,6 +311,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/lib/Makefile.in b/tools/lib/Makefile.in
index 12577af..36c9ff2 100644
--- a/tools/lib/Makefile.in
+++ b/tools/lib/Makefile.in
@@ -248,6 +248,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -273,6 +274,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@
diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in
index 5a7c17a..738ee57 100644
--- a/tools/misc/Makefile.in
+++ b/tools/misc/Makefile.in
@@ -310,6 +310,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
+IOD_CORRUPT_TOOL = @IOD_CORRUPT_TOOL@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
@@ -335,6 +336,7 @@ MPI_GET_SIZE = @MPI_GET_SIZE@
MYAXE_LIBS = @MYAXE_LIBS@
MYDAOS_LIBS = @MYDAOS_LIBS@
MYIODP_LIBS = @MYIODP_LIBS@
+MYIOD_CT_LIBS = @MYIOD_CT_LIBS@
MYIOD_LIBS = @MYIOD_LIBS@
MYPLFS_LIBS = @MYPLFS_LIBS@
NM = @NM@