summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2023-04-13 14:40:41 +0200
committerGitHub <noreply@github.com>2023-04-13 14:40:41 +0200
commitf199e00f59c72e325deed565f1c3f912732221c1 (patch)
treec7cfc59b1323a32bcfc6a051c8642a5a4c03d1e0
parent919e299682fa49b4747dbf010e7b318c46e0458d (diff)
parentec3f3a6ae91664a7166beda342e5c7e788b7b8b4 (diff)
downloadautoconf-archive-f199e00f59c72e325deed565f1c3f912732221c1.tar.gz
Merge pull request #274 from saitofuyuki/topic/netcdf
ax_lib_netcdf4: NF_CONFIG instead of NC_CONFIG for Fortran flags.
-rw-r--r--m4/ax_lib_netcdf4.m46
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