diff options
author | SAITO Fuyuki <saitofuyuki@jamstec.go.jp> | 2023-03-08 13:58:57 +0900 |
---|---|---|
committer | SAITO Fuyuki <saitofuyuki@jamstec.go.jp> | 2023-03-08 13:58:57 +0900 |
commit | ec3f3a6ae91664a7166beda342e5c7e788b7b8b4 (patch) | |
tree | 19c775617ea0b5bb556c3d5b1e10656e7036b0b8 | |
parent | 453af6ca734d5c9a9733b52ac0d4bd4eb13d1e30 (diff) | |
download | autoconf-archive-ec3f3a6ae91664a7166beda342e5c7e788b7b8b4.tar.gz |
ax_lib_netcdf4: NF_CONFIG instead of NC_CONFIG for Fortran flags.
NF_CONFIG is better and safer than NC_CONFIG, for NETCDF4_FFLAGS and
NETCDF4_FLIBS configuration.
-rw-r--r-- | m4/ax_lib_netcdf4.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_lib_netcdf4.m4 b/m4/ax_lib_netcdf4.m4 index 877d385..87c9139 100644 --- a/m4/ax_lib_netcdf4.m4 +++ b/m4/ax_lib_netcdf4.m4 @@ -89,7 +89,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 4 AC_DEFUN([AX_LIB_NETCDF4], [ @@ -247,10 +247,10 @@ parallel NetCDF4 is not supported (while it was requested) NETCDF4_FC=$(eval $NF_CONFIG --fc | $AWK '{print $[]2}') fi dnl Look for the FFLAGS - NETCDF4_FFLAGS=$(eval $NC_CONFIG --fflags) + NETCDF4_FFLAGS=$(eval $NF_CONFIG --fflags) dnl Look for the FLIBS and LDFLAGS - NETCDF4_tmp_flibs=$(eval $NC_CONFIG --flibs) + NETCDF4_tmp_flibs=$(eval $NF_CONFIG --flibs) dnl Sort out the tmp libs based on their prefixes for arg in $NETCDF4_tmp_flibs ; do |