2
0
mirror of https://github.com/Unidata/netcdf-c.git synced 2025-04-18 18:20:39 +08:00

Enable dap4 by default; disable dap4 remote tests

This commit is contained in:
Dennis Heimbigner 2017-03-30 15:25:20 -06:00
parent 7d9a1107c9
commit 3432d4f950
3 changed files with 7 additions and 12 deletions

@ -16,7 +16,8 @@ This file contains a high-level description of this package's evolution. Release
(1) using "dap4:" as the url protocol, or
(2) appending "#protocol=dap4" to the end of the url, or
(3) appending "#dap4" to the end of the url
Note that dap4 is disabled by default until the testserver situation is resolved.
Note that dap4 is enabled by default but remote-testing is
disbled until the testserver situation is resolved.
* [Enhancement] The remote testing server can now be specified with the '--with-testserver" option to ./configure.
* [Refactor] the oc2 library is no longer independent of the main netcdf-c library. For example, it now uses ncuri, nclist, and ncbytes instead of its homegrown equivalents.
* [Enhancement] Modified netCDF4 to use ASCII for NC_CHAR. See [Github Pull request #316](https://github.com/Unidata/netcdf-c/pull/316) for more information.

@ -328,6 +328,9 @@ AC_ARG_ENABLE([dap],
test "x$enable_dap" = xno || enable_dap=yes
AC_MSG_RESULT($enable_dap)
# --enable-dap => enable-dap4
enable_dap4=$enable_dap
# Curl support is required if and only if any of these flags are set:
# 1. --enable-dap
@ -805,16 +808,6 @@ AC_MSG_NOTICE([dap support disabled])
enable_dap=no
fi
# Set flags for dap4
## Capture the state of the --enable-dap4 (Temporary)
#enable_dap4=$enable_dap
AC_MSG_CHECKING([whether DAP4 client(s) are to be built])
AC_ARG_ENABLE([dap4],
[AS_HELP_STRING([--enable-dap4],
[build with DAP4 client support (default off).])])
test "x$enable_dap4" = xyes || enable_dap4=no
AC_MSG_RESULT($enable_dap4)
# disable dap4 if netcdf-4 is disabled
if test "x$enable_netcdf_4" = "xno" ; then
AC_MSG_WARN([netcdf-4 not enabled; disabling DAP4])

@ -40,7 +40,8 @@ check_PROGRAMS += findtestserver4
findtestserver4_SOURCES = findtestserver4.c
if BUILD_UTILITIES
# relies on ncdump
TESTS += test_remote.sh
# Disabled until the testserver is stable
#TESTS += test_remote.sh
endif
endif