Added plugin directory to nc-config

This commit is contained in:
Ward Fisher 2022-09-19 15:21:27 -06:00
parent 7e62782daf
commit 3649364217
2 changed files with 29 additions and 18 deletions

View File

@ -246,25 +246,25 @@ if [ -f "$nfconf" ]; then
echo " --has-f03 -> $has_f03"
echo
fi
echo " --has-dap -> $has_dap"
echo " --has-dap2 -> $has_dap"
echo " --has-dap4 -> $has_dap4"
echo " --has-nc2 -> $has_nc2"
echo " --has-nc4 -> $has_nc4"
echo " --has-hdf5 -> $has_hdf5"
echo " --has-hdf4 -> $has_hdf4"
echo " --has-logging -> $has_logging"
echo " --has-pnetcdf -> $has_pnetcdf"
echo " --has-szlib -> $has_szlib"
echo " --has-cdf5 -> $has_cdf5"
echo " --has-parallel4 -> $has_parallel4"
echo " --has-parallel -> $has_parallel"
echo " --has-nczarr -> $has_nczarr"
echo " --has-zstd -> $has_zstd"
echo " --has-benchmarks -> $has_benchmarks"
echo " --has-dap -> $has_dap"
echo " --has-dap2 -> $has_dap"
echo " --has-dap4 -> $has_dap4"
echo " --has-nc2 -> $has_nc2"
echo " --has-nc4 -> $has_nc4"
echo " --has-hdf5 -> $has_hdf5"
echo " --has-hdf4 -> $has_hdf4"
echo " --has-logging -> $has_logging"
echo " --has-pnetcdf -> $has_pnetcdf"
echo " --has-szlib -> $has_szlib"
echo " --has-cdf5 -> $has_cdf5"
echo " --has-parallel4 -> $has_parallel4"
echo " --has-parallel -> $has_parallel"
echo " --has-nczarr -> $has_nczarr"
echo " --has-zstd -> $has_zstd"
echo " --has-benchmarks -> $has_benchmarks"
echo " --has-multifilters -> $has_multifilters"
echo " --has-stdfilters -> $has_multifilters"
echo " --has-quantize -> $has_quantize"
echo " --has-stdfilters -> $has_multifilters"
echo " --has-quantize -> $has_quantize"
echo
echo " --prefix -> $prefix"
echo " --includedir -> $includedir"

View File

@ -8,6 +8,11 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
plugindir=@PLUGIN_INSTALL_DIR@
if test "x@PLUGIN_INSTALL_DIR@" == "xno" ; then
plugindir=""
fi
cc="@CC@"
cflags="-I${includedir} @CPPFLAGS@"
@ -109,6 +114,7 @@ Available values for OPTION include:
--prefix Install prefix
--includedir Include directory
--libdir Library directory
--plugindir Plugin directory
--version Library version
EOF
@ -195,6 +201,7 @@ fi
echo " --prefix -> $prefix"
echo " --includedir -> $includedir"
echo " --libdir -> $libdir"
echo " --plugindir -> $plugindir"
echo " --version -> $version"
echo
}
@ -241,6 +248,10 @@ while test $# -gt 0; do
echo $cflags
;;
--plugindir)
echo $plugindir
;;
--has-dap)
echo $has_dap
;;