From ec3f3a6ae91664a7166beda342e5c7e788b7b8b4 Mon Sep 17 00:00:00 2001 From: SAITO Fuyuki Date: Wed, 8 Mar 2023 13:58:57 +0900 Subject: 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. --- m4/ax_lib_netcdf4.m4 | 6 +++--- 1 file 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 -- cgit v1.2.1