diff --git a/darshan-runtime/configure b/darshan-runtime/configure index 4cf8b9465c584c8c2a8609a7b5c2747157f730ea..cad7d15b566f3559b4536f250d6439fbea44e698 100755 --- a/darshan-runtime/configure +++ b/darshan-runtime/configure @@ -663,7 +663,6 @@ infodir docdir oldincludedir includedir -runstatedir localstatedir sharedstatedir sysconfdir @@ -690,6 +689,7 @@ with_zlib enable_ld_preload enable_cuserid enable_group_readable_logs +enable_HDF5_1_10 enable_bgq_mod enable_lustre_mod enable_mmap_logs @@ -747,7 +747,6 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' -runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1000,15 +999,6 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; - -runstatedir | --runstatedir | --runstatedi | --runstated \ - | --runstate | --runstat | --runsta | --runst | --runs \ - | --run | --ru | --r) - ac_prev=runstatedir ;; - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ - | --run=* | --ru=* | --r=*) - runstatedir=$ac_optarg ;; - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1146,7 +1136,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir runstatedir + libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1299,7 +1289,6 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1333,6 +1322,7 @@ Optional Features: --disable-cuserid Disables attempted use of cuserid() at run time --enable-group-readable-logs Set log files to be group readable + --enable-HDF5_1.10 Compile for use with HDF5 1.10.x --disable-bgq-mod Disables compilation and use of BG/Q module (for BG/Q systems) --disable-lustre-mod Disables compilation and use of the Lustre module --enable-mmap-logs Enables ability to mmap I/O data to log file @@ -3581,6 +3571,17 @@ fi fi +# Check whether --enable-HDF5_1.10 was given. +if test "${enable_HDF5_1_10+set}" = set; then : + enableval=$enable_HDF5_1_10; if test "x$enableval" = "xyes" ; then + +$as_echo "#define __DARSHAN_ENABLE_HDF5110 1" >>confdefs.h + +fi + +fi + + # Check whether --enable-bgq-mod was given. if test "${enable_bgq_mod+set}" = set; then : enableval=$enable_bgq_mod; diff --git a/darshan-runtime/darshan-runtime-config.h.in b/darshan-runtime/darshan-runtime-config.h.in index fe93e563f120ecdedd72c20dfb5523cca8df6413..1ce3dbefe5b07ccc25f4f70e8591deac0c4f8bea 100644 --- a/darshan-runtime/darshan-runtime-config.h.in +++ b/darshan-runtime/darshan-runtime-config.h.in @@ -87,6 +87,9 @@ /* Define if cuserid() should be disabled */ #undef __DARSHAN_DISABLE_CUSERID +/* Set for compatibility with HDF5_1.10.x */ +#undef __DARSHAN_ENABLE_HDF5110 + /* Define if Darshan should mmap data structures to log file */ #undef __DARSHAN_ENABLE_MMAP_LOGS