File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2092,11 +2092,20 @@ fi
2092
2092
2093
2093
AC_SUBST ( STD_FILTERS ,[ $std_filters] )
2094
2094
2095
- # If user wants, then install selected standard filters
2095
+ # The --with-plugin-dir gives the user control of the plugin
2096
+ # directory. If set to 'yes' (the default), then first directory in
2097
+ # the HDF5_PLUGIN_PATH, or /usr/local/hdf5/lib/plugin (the default
2098
+ # HDF5 plugin dir) will be used. If another directory is provided, it
2099
+ # will be used. If 'no', then plugins will not be installed.
2096
2100
AC_MSG_CHECKING ( [ whether and where we should install plugins] )
2097
- AC_ARG_WITH ( [ plugin-dir] , [ AS_HELP_STRING ( [ --with-plugin-dir=<absolute directory>|no|--without-plugin-dir] ,
2101
+ AC_ARG_WITH ( [ plugin-dir] , [ AS_HELP_STRING ( [ --with-plugin-dir=<absolute directory>|yes| no|--without-plugin-dir] ,
2098
2102
[ Install selected standard filters in specified or default directory] ) ] ,
2099
2103
[ ] ,[ with_plugin_dir=no] )
2104
+ if test "x$have_zstd" = xyes; then
2105
+ if test "x$with_plugin_dir" = xno; then
2106
+ with_plugin_dir=yes
2107
+ fi
2108
+ fi
2100
2109
AC_MSG_RESULT ( [ $with_plugin_dir] )
2101
2110
if test "x$with_plugin_dir" = xno ; then # option missing|disabled
2102
2111
with_plugin_dir=no
You can’t perform that action at this time.
0 commit comments