Skip to content

Commit

Permalink
conditionally specify -DNOT_NETCFD4
Browse files Browse the repository at this point in the history
  • Loading branch information
benkirk committed Feb 12, 2013
1 parent c07e91a commit 6fb0008
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions m4/exodus.m4
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ AC_DEFUN([CONFIGURE_EXODUS],
exodusversion=no
fi
# no HDF5 &/or no NETCDF4
EXODUS_NOT_NETCDF4_FLAG=""
# no HDF5, no NETCDF4
if (test "x$enablehdf5" = "xno" -o "x$netcdfversion" = "x3"); then
EXODUS_NOT_NETCDF4_FLAG="-DNOT_NETCDF4"
fi
Expand Down Expand Up @@ -51,5 +51,4 @@ AC_DEFUN([CONFIGURE_EXODUS],
AC_CONFIG_FILES([contrib/exodusii/v5.09/Makefile])
AC_CONFIG_FILES([contrib/exodusii/v5.22/exodus/cbind/Makefile])
AC_SUBST(EXODUS_INCLUDE)
AC_SUBST(EXODUS_NOT_NETCDF4_FLAG)
])

0 comments on commit 6fb0008

Please sign in to comment.