meta-openembedded/meta-oe/recipes-devtools/octave/files/fix-blas-library-integer-size.patch
Tuan Hoang 0ad153f721 octave: add version 4.4.1
Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 08:07:53 -08:00

17 lines
456 B
Diff

diff -Naur octave-4.4.1.orig/configure.ac octave-4.4.1/configure.ac
--- octave-4.4.1.orig/configure.ac 2019-02-23 10:46:24.287240571 +0000
+++ octave-4.4.1/configure.ac 2019-02-23 10:46:42.255249333 +0000
@@ -762,6 +762,12 @@
AC_MSG_ERROR([BLAS and LAPACK libraries are required])
fi
+if ac_fn_f77_try_run "$LINENO"; then :
+ ax_blas_integer_size=8
+else
+ ax_blas_integer_size=4
+fi
+
case $ax_blas_integer_size in
4)
HAVE_64_BIT_BLAS=no