Skip to content

Commit

Permalink
Merge pull request #2973 from edwardhartnett/ejh_fix_configure
Browse files Browse the repository at this point in the history
fixed --with-plugin-dir option to match cmake behavior
  • Loading branch information
WardF authored Aug 13, 2024
2 parents 0244e3c + 3bb9aaf commit 4aaf312
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2092,11 +2092,20 @@ fi

AC_SUBST(STD_FILTERS,[$std_filters])

# If user wants, then install selected standard filters
# The --with-plugin-dir gives the user control of the plugin
# directory. If set to 'yes' (the default), then first directory in
# the HDF5_PLUGIN_PATH, or /usr/local/hdf5/lib/plugin (the default
# HDF5 plugin dir) will be used. If another directory is provided, it
# will be used. If 'no', then plugins will not be installed.
AC_MSG_CHECKING([whether and where we should install plugins])
AC_ARG_WITH([plugin-dir], [AS_HELP_STRING([--with-plugin-dir=<absolute directory>|no|--without-plugin-dir],
AC_ARG_WITH([plugin-dir], [AS_HELP_STRING([--with-plugin-dir=<absolute directory>|yes|no|--without-plugin-dir],
[Install selected standard filters in specified or default directory])],
[],[with_plugin_dir=no])
if test "x$have_zstd" = xyes; then
if test "x$with_plugin_dir" = xno; then
with_plugin_dir=yes
fi
fi
AC_MSG_RESULT([$with_plugin_dir])
if test "x$with_plugin_dir" = xno ; then # option missing|disabled
with_plugin_dir=no
Expand Down

0 comments on commit 4aaf312

Please sign in to comment.