Skip to content

Commit

Permalink
Merge pull request #2710 from skosukhin/osx-config-fix
Browse files Browse the repository at this point in the history
Fix building on macOS
  • Loading branch information
DennisHeimbigner authored Jun 13, 2023
2 parents 5909da2 + 4cdbef4 commit cfe6231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1256,8 +1256,8 @@ if test "x$enable_hdf5" = "xno" ; then
enable_dap4=no
fi

if test "x$ISOSX" = xyes && test "x$have_libxml2" = xno ; then
AC_MSG_ERROR([Error: OSX requires libxml2 => --disable-dap4.])
if test "x$ISOSX" = xyes && test "x$have_libxml2" = xno && test "x$enable_dap4" = xyes ; then
AC_MSG_WARN([OSX requires libxml2 for DAP4 support; disabling DAP4])
enable_dap4=no
fi

Expand Down

0 comments on commit cfe6231

Please sign in to comment.