mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Merge branch 'gh252'
This commit is contained in:
commit
9d91a9684a
12
configure.ac
12
configure.ac
@ -48,6 +48,18 @@ AC_CANONICAL_TARGET
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
##
|
||||
# Some files need to exist in build directories
|
||||
# that do not correspond to their source directory, or
|
||||
# the test program makes an assumption about where files
|
||||
# live. AC_CONFIG_LINKS provides a mechanism to link/copy files
|
||||
# if an out-of-source build is happening.
|
||||
##
|
||||
|
||||
AC_CONFIG_LINKS([nc_test4/ref_hdf5_compat1.nc:nc_test4/ref_hdf5_compat1.nc])
|
||||
AC_CONFIG_LINKS([nc_test4/ref_hdf5_compat2.nc:nc_test4/ref_hdf5_compat2.nc])
|
||||
AC_CONFIG_LINKS([nc_test4/ref_hdf5_compat3.nc:nc_test4/ref_hdf5_compat3.nc])
|
||||
|
||||
# This call is required by automake.
|
||||
AM_INIT_AUTOMAKE([foreign dist-zip subdir-objects])
|
||||
|
||||
|
@ -47,7 +47,7 @@ EXTRA_DIST = attr.m4 ncx.m4 putget.m4 $(man_MANS) CMakeLists.txt XGetopt.c
|
||||
|
||||
# This tells make how to turn .m4 files into .c files.
|
||||
.m4.c:
|
||||
m4 $(AM_M4FLAGS) $(M4FLAGS) -s $< >$@
|
||||
m4 $(AM_M4FLAGS) $(M4FLAGS) -s $< >${srcdir}/$@
|
||||
|
||||
# The C API man page.
|
||||
man_MANS = netcdf.3
|
||||
|
@ -93,14 +93,14 @@ EXTRA_DIST = test_get.m4 test_put.m4 run_valgrind_tests.sh \
|
||||
run_diskless.sh run_diskless2.sh run_mmap.sh run_pnetcdf_test.sh
|
||||
|
||||
# ref_tst_diskless2.cdl is for diff comparison and to produce tst_diskless2.c
|
||||
EXTRA_DIST += ref_tst_diskless2.cdl CMakeLists.txt tst_types.c
|
||||
EXTRA_DIST += ref_tst_diskless2.cdl CMakeLists.txt
|
||||
|
||||
# Only clean these on mainatiner-clean, because they require m4 to
|
||||
# regenerate.
|
||||
#MAINTAINERCLEANFILES = test_get.c test_put.c
|
||||
|
||||
all:
|
||||
cp $(top_builddir)/libsrc/ncx.c .
|
||||
cp $(top_srcdir)/libsrc/ncx.c .
|
||||
|
||||
CLEANFILES += ncx.c
|
||||
|
||||
|
@ -80,7 +80,7 @@ int main() {
|
||||
}
|
||||
|
||||
printf("\t* Puting data in secondary variable:\tnc_put_vara().\n");
|
||||
if (nc_put_vara(ncid,varid2,&startp2,&countp2,data2)) ERR;
|
||||
if (nc_put_vara(ncid,varid2,startp2,countp2,data2)) ERR;
|
||||
|
||||
/***********/
|
||||
/* Actually unnecessary to recreate the issue. */
|
||||
@ -172,7 +172,7 @@ int main() {
|
||||
}
|
||||
|
||||
printf("\t* Puting data in secondary variable:\tnc_put_vara().\n");
|
||||
if (nc_put_vara(ncid,varid2,&startp2,&countp2,data2)) ERR;
|
||||
if (nc_put_vara(ncid,varid2,startp2,countp2,data2)) ERR;
|
||||
|
||||
/***********/
|
||||
/* Actually unnecessary to recreate the issue. */
|
||||
|
Loading…
Reference in New Issue
Block a user