$NetBSD: patch-configure,v 1.3 2025/10/27 11:28:55 adam Exp $ Adjust infodir. Portability fixes. --- configure.orig 2025-02-07 21:40:00.000000000 +0000 +++ configure @@ -1216,7 +1216,7 @@ runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' +infodir='${prefix}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' @@ -6319,11 +6319,11 @@ printf "%s\n" "$as_me: WARNING: --enable fi # --enable-netcdf-4 overrides --enable-netcdf4 if latter not defined -if test "x$enable_netcdf_4" != x && test "x$enable_netcdf4" == x ; then +if test "x$enable_netcdf_4" != x && test "x$enable_netcdf4" = x ; then enable_netcdf4="$enable_netcdf_4" fi # --enable-netcdf4 overrides --enable-hdf5 if latter not defined -if test "x$enable_netcdf4" != x && test "x$enable_hdf5" == x ; then +if test "x$enable_netcdf4" != x && test "x$enable_hdf5" = x ; then enable_hdf5="$enable_netcdf4" fi # Otherwise, use --enable-hdf5