Skip to content

Commit

Permalink
Fix building on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
skosukhin committed Jun 12, 2023
1 parent 7cb42a6 commit 4cdbef4
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 @@ -1247,8 +1247,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 4cdbef4

Please sign in to comment.