changeset 31133:1d61c36bb34a

build: Uspdate Copyright notices for acinclude.m4, octave_blas.m4. * acinclude.m4: Update copyright notice which was missing a word. * octave_blas.m4: Add copyright notice to new file. Also rename "save_octave_blas_f77_func_LIBS" variable to "ac_octave_save_LIBS".
author Rik <rik@octave.org>
date Sat, 09 Jul 2022 11:29:19 -0700
parents 0f4d16af143b
children b8d37c022e40
files m4/acinclude.m4 m4/octave_blas.m4
diffstat 2 files changed, 30 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/m4/acinclude.m4	Sat Jul 09 11:11:53 2022 -0700
+++ b/m4/acinclude.m4	Sat Jul 09 11:29:19 2022 -0700
@@ -1,12 +1,11 @@
-dnl aclocal.m4 -- extra macros for configuring Octave
+dnl acinclude.m4 -- extra macros for configuring Octave
 dnl
 dnl --------------------------------------------------------------------
 dnl
 dnl Copyright (C) 1995-2022 The Octave Project Developers
 dnl
 dnl See the file COPYRIGHT.md in the top-level directory of this
-dnl or <https://octave.org/copyright/>.
-dnl
+dnl distribution or <https://octave.org/copyright/>.
 dnl
 dnl This file is part of Octave.
 dnl
--- a/m4/octave_blas.m4	Sat Jul 09 11:11:53 2022 -0700
+++ b/m4/octave_blas.m4	Sat Jul 09 11:29:19 2022 -0700
@@ -1,5 +1,29 @@
+dnl --------------------------------------------------------------------
 dnl
-dnl Check for BLAS libary and if valid determine integer size in library
+dnl Copyright (C) 2022 The Octave Project Developers
+dnl
+dnl See the file COPYRIGHT.md in the top-level directory of this
+dnl distribution or <https://octave.org/copyright/>.
+dnl
+dnl This file is part of Octave.
+dnl
+dnl Octave is free software: you can redistribute it and/or modify it
+dnl under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation, either version 3 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl Octave is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with Octave; see the file COPYING.  If not, see
+dnl <https://www.gnu.org/licenses/>.
+dnl
+dnl --------------------------------------------------------------------
+dnl
+dnl Check for BLAS library and, if valid, determine integer size of library
 dnl
 AC_DEFUN([OCTAVE_BLAS], [
   AC_PREREQ(2.50)
@@ -12,8 +36,8 @@
     ax_cv_blas_integer_size=4
     AC_MSG_CHECKING([BLAS can be called from Fortran])
     AC_MSG_RESULT([yes assumed for cross compilation])
-  elif test x"$ax_blas_ok" = xyes; then
-    save_octave_blas_f77_func_LIBS="$LIBS"
+  elif test $ax_blas_ok = yes; then
+    ac_octave_save_LIBS="$LIBS"
     LIBS="$BLAS_LIBS $LIBS"
     AC_LANG_PUSH(Fortran 77)
     ## Check BLAS library integer size.
@@ -74,7 +98,7 @@
       ])
 
   AC_LANG_POP(Fortran 77)
-  LIBS="$save_octave_blas_f77_func_LIBS"
+  LIBS="$ac_octave_save_LIBS"
 fi
 
 ])