summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_blas.m46
-rw-r--r--m4/ax_lib_netcdf4.m46
2 files changed, 6 insertions, 6 deletions
diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4
index 9571905..86ec926 100644
--- a/m4/ax_blas.m4
+++ b/m4/ax_blas.m4
@@ -175,9 +175,9 @@ fi
# BLAS in Apple vecLib library?
if test $ax_blas_ok = no; then
- save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
- AC_MSG_CHECKING([for $sgemm in -framework vecLib])
- AC_LINK_IFELSE([AC_LANG_CALL([], [$sgemm])], [ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"])
+ save_LIBS="$LIBS"; LIBS="-framework Accelerate $LIBS"
+ AC_MSG_CHECKING([for $sgemm in -framework Accelerate])
+ AC_LINK_IFELSE([AC_LANG_CALL([], [$sgemm])], [ax_blas_ok=yes;BLAS_LIBS="-framework Accelerate"])
AC_MSG_RESULT($ax_blas_ok)
LIBS="$save_LIBS"
fi
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