Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,14 @@ if test "x${have_openpmd}" = xyes; then
fi
AM_CONDITIONAL(HAVE_OPENPMD, [test "x${have_openpmd}" = xyes])

hdf5_examples=yes
AC_ARG_ENABLE([hdf5-examples],
[AS_HELP_STRING([--disable-hdf5-examples],
[Disable hdf5 examples. @<:@default: enabled@:>@])],
[hdf5_examples=${enableval}], [hdf5_examples=yes]
)
AM_CONDITIONAL(HDF5_EXAMPLES, [test "x${hdf5_examples}" = xyes])

dnl Configuration Date
dnl Note that command 'date' is not portable across Unix platforms
if test "x$SOURCE_DATE_EPOCH" != x ; then
Expand Down
8 changes: 6 additions & 2 deletions examples/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,13 @@ SH_LOG_COMPILER =

TESTS = $(TESTPROGRAMS)

C_SUBDIRS = hdf5_examples
C_SUBDIRS =

DIST_SUBDIRS = $(C_SUBDIRS)
if HDF5_EXAMPLES
C_SUBDIRS += hdf5_examples
endif

DIST_SUBDIRS = hdf5_examples

SUBDIRS = . $(C_SUBDIRS)

Expand Down