changeset 27488:3fe26656e73c

ensure that HAVE_BLAS and HAVE_LAPACK are defined (bug #57042) * configure.ac: Call AX_LAPACK and OCTAVE_BLAS_WITH_F77_FUNC with empty first and second arguments so that the default found/not-found actions are performed.
author John W. Eaton <jwe@octave.org>
date Fri, 11 Oct 2019 17:00:28 -0400
parents f19e621d7f2d
children c2c9185d3389
files configure.ac
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Oct 11 16:56:17 2019 -0400
+++ b/configure.ac	Fri Oct 11 17:00:28 2019 -0400
@@ -669,11 +669,11 @@
 save_FFLAGS="$FFLAGS"
 FFLAGS="$FFLAGS $F77_INTEGER_8_FLAG"
 
-OCTAVE_BLAS_WITH_F77_FUNC([:], [:],
+OCTAVE_BLAS_WITH_F77_FUNC([], [],
   [ax_blas_ok=yes
   AC_MSG_CHECKING([BLAS can be called from Fortran])
   AC_MSG_RESULT([yes assumed for cross compilation])])
-AX_LAPACK([:], [:])
+AX_LAPACK
 
 ## Restore FFLAGS.
 FFLAGS="$save_FFLAGS"
@@ -683,8 +683,8 @@
   save_FFLAGS="$FFLAGS"
   FFLAGS="-ff2c $FFLAGS $F77_INTEGER_8_FLAG"
 
-  OCTAVE_BLAS_WITH_F77_FUNC([:], [:])
-  AX_LAPACK([:], [:])
+  OCTAVE_BLAS_WITH_F77_FUNC
+  AX_LAPACK
 
   ## Restore FFLAGS, with -ff2c if that was helpful
   if test $ax_blas_ok = yes; then
@@ -712,8 +712,8 @@
          save_FFLAGS="$FFLAGS"
          FFLAGS="$FFLAGS $F77_INTEGER_8_FLAG"
 
-         OCTAVE_BLAS_WITH_F77_FUNC([:], [:])
-         AX_LAPACK([:], [:])
+         OCTAVE_BLAS_WITH_F77_FUNC
+         AX_LAPACK
 
          ## Restore FFLAGS.
          FFLAGS="$save_FFLAGS"