mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-01 17:06:03 +08:00
Additional changes to strip out fortran bootstrap.
This commit is contained in:
parent
2d4f2e5d05
commit
aa0bf2ec29
26
Makefile.am
26
Makefile.am
@ -168,32 +168,6 @@ mm4::
|
||||
b=`basename $$m` ; d=`dirname $$m`;\
|
||||
pushd $$d; m4 -s $${b}.m4 > $${b}.c ; popd; done
|
||||
|
||||
#####
|
||||
# If ENABLE_FORTRAN was turned on,
|
||||
# we have new make targets, build-netcdf-fortran and
|
||||
# install-netcdf-fortran.
|
||||
#####
|
||||
|
||||
###
|
||||
# build-netcdf-fortran
|
||||
###
|
||||
if BUILD_FORTRAN
|
||||
|
||||
build-netcdf-fortran:
|
||||
echo "Downloading and Building NetCDF-Fortran"
|
||||
chmod u+x $(abs_top_builddir)/postinstall.sh
|
||||
sh -c "$(abs_top_builddir)/postinstall.sh -t autotools -a build"
|
||||
|
||||
###
|
||||
# install-netcdf-fortran
|
||||
###
|
||||
install-netcdf-fortran:
|
||||
echo "Installing NetCDF-Fortran"
|
||||
chmod u+x $(abs_top_builddir)/postinstall.sh
|
||||
sh -c "$(abs_top_builddir)/postinstall.sh -t autotools -a install"
|
||||
|
||||
endif
|
||||
|
||||
check_nc_config:
|
||||
$(CC) `./nc-config --cflags` test_prog.c -o test_prog `./nc-config --libs`
|
||||
./test_prog
|
||||
|
@ -74,9 +74,6 @@ are set when opening a binary file on Windows. */
|
||||
/* Define if building universal (internal helper macro) */
|
||||
#cmakedefine AC_APPLE_UNIVERSAL_BUILD 1
|
||||
|
||||
/* If true, will attempt to download and build netcdf-fortran. */
|
||||
#cmakedefine BUILD_FORTRAN 1
|
||||
|
||||
/* default file chunk cache nelems. */
|
||||
#cmakedefine CHUNK_CACHE_NELEMS ${CHUNK_CACHE_NELEMS}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user