diff options
-rwxr-xr-x | configure | 44 | ||||
-rwxr-xr-x | fortran/configure | 2 | ||||
-rw-r--r-- | src/H5config.h.in | 4 |
3 files changed, 43 insertions, 7 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 13739 2007-05-09 15:54:29Z acheng . +# From configure.in Id: configure.in 13812 2007-05-29 19:48:53Z koziol . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for HDF5 1.6.6-snap21. # @@ -866,6 +866,7 @@ PTHREAD DEBUG_PKG TRACE_API INSTRUMENT_LIBRARY +CLEARFILEBUF MPE FILTERS USE_FILTER_SHUFFLE @@ -1502,6 +1503,9 @@ Optional Features: is disabled. --enable-instrument Enable library instrumentation of optimization tracing. Default=no if debug is disabled. + --enable-clear-file-buffers + Securely clear file buffers before writing to file. + Default=yes. --enable-parallel Search for MPI-IO and MPI support files --enable-stream-vfd Build the Stream Virtual File Driver [default=yes] --enable-filters=all Turn on all internal I/O filters. One may also @@ -5301,7 +5305,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 5304 "configure"' > conftest.$ac_ext + echo '#line 5308 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5858,7 +5862,7 @@ chmod -w . save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no -if { (eval echo configure:5861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then +if { (eval echo configure:5865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then @@ -7733,7 +7737,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 7736 "configure" +#line 7740 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -7831,7 +7835,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 7834 "configure" +#line 7838 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -34579,6 +34583,33 @@ echo "${ECHO_T}no" >&6; } ;; esac + +{ echo "$as_me:$LINENO: checking whether to clear file buffers" >&5 +echo $ECHO_N "checking whether to clear file buffers... $ECHO_C" >&6; } +# Check whether --enable-clear-file-buffers was given. +if test "${enable_clear_file_buffers+set}" = set; then + enableval=$enable_clear_file_buffers; CLEARFILEBUF=$enableval +fi + + +case "X-$CLEARFILEBUF" in + *) + CLEARFILEBUF=yes + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + +cat >>confdefs.h <<\_ACEOF +#define CLEAR_MEMORY 1 +_ACEOF + + ;; + X-no) + CLEARFILEBUF=no + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + ;; +esac + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -37594,6 +37625,7 @@ for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF TRACE_API!$TRACE_API$ac_delim INSTRUMENT_LIBRARY!$INSTRUMENT_LIBRARY$ac_delim +CLEARFILEBUF!$CLEARFILEBUF$ac_delim MPE!$MPE$ac_delim FILTERS!$FILTERS$ac_delim USE_FILTER_SHUFFLE!$USE_FILTER_SHUFFLE$ac_delim @@ -37614,7 +37646,7 @@ LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff --git a/fortran/configure b/fortran/configure index a74155b..f8ee153 100755 --- a/fortran/configure +++ b/fortran/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From fortran/configure.in Id: configure.in 13740 2007-05-09 20:55:58Z acheng . +# From fortran/configure.in Id: configure.in 13749 2007-05-12 22:40:50Z acheng . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for HDF5 Fortran 1.6.6-snap21. # diff --git a/src/H5config.h.in b/src/H5config.h.in index 3efb891..4d4685b 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -1,5 +1,9 @@ /* src/H5config.h.in. Generated from configure.in by autoheader. */ +/* Define if the memory buffers being written to disk should be cleared before + writing. */ +#undef CLEAR_MEMORY + /* Define if your system can handle converting denormalized floating-point values. */ #undef CONVERT_DENORMAL_FLOAT |