Skip to content

Commit

Permalink
Corrected issue with nc-config generatred by autotools.
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Oct 16, 2017
1 parent d14b7e0 commit b52f3dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,14 @@ fi
# Now, set enable_parallel if either pnetcdf or parallel4 is set
if test "x$enable_pnetcdf" = xyes -o "x$enable_parallel4" = xyes; then
enable_parallel=yes
AC_DEFINE([USE_PARALLEL], [1], [if true, enable parallel support])
else
enable_parallel=no
AC_DEFINE([USE_PARALLEL], [0], [if true, enable parallel support])
fi

AM_CONDITIONAL(ENABLE_PARALLEL, [test x$enable_parallel = xyes ])

if test "x$hdf5_parallel" = xyes; then
# Provide more precise parallel control
AC_DEFINE([HDF5_PARALLEL], [1], [if true, hdf5 has parallelism enabled])
Expand Down
1 change: 1 addition & 0 deletions nc-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ has_hdf5="@HAS_HDF5@"
has_logging="@HAS_LOGGING@"
has_cdf5="@HAS_CDF5@"
has_szlib="@HAS_SZLIB@"
has_parallel="@HAS_PARALLEL@"
version="@PACKAGE_NAME@ @PACKAGE_VERSION@"


Expand Down

0 comments on commit b52f3dd

Please sign in to comment.