annotate src/of-linear-algebra-3-fixes.patch @ 4593:705d0432dbf1

of-linear-algebra: don't use config.h
author John W. Eaton <jwe@octave.org>
date Tue, 09 Jan 2018 18:04:44 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4593
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -uNr a/src/CmplxGSVD.cc b/src/CmplxGSVD.cc
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/src/CmplxGSVD.cc 2015-01-24 14:54:11.000000000 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 +++ b/src/CmplxGSVD.cc 2018-01-09 18:01:22.672116302 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -14,10 +14,6 @@
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 // You should have received a copy of the GNU General Public License along with
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 // this program; if not, see <http://www.gnu.org/licenses/>.
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 -#ifdef HAVE_CONFIG_H
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 -#include <config.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 -#endif
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 -
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 #include <iostream>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 #include "CmplxGSVD.h"
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 diff -uNr a/src/configure b/src/configure
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 --- a/src/configure 2018-01-09 18:00:27.978452208 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 +++ b/src/configure 2018-01-09 18:02:12.066006875 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 @@ -2720,7 +2720,7 @@
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for F77_FUNC" >&5
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 $as_echo_n "checking for F77_FUNC... " >&6; }
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 cat > conftest.cc << EOF
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 -#include <octave/config.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 +#include <octave/f77-fcn.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 int F77_FUNC (hello, HELLO) (const int &n);
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 EOF
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 ac_try="$MKOCTFILE -c conftest.cc"
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 diff -uNr a/src/configure.base b/src/configure.base
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 --- a/src/configure.base 2018-01-09 18:00:27.978452208 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 +++ b/src/configure.base 2018-01-09 18:01:54.598752821 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 @@ -135,7 +135,7 @@
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 AC_DEFUN(TRY_MKOCTFILE,
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 [AC_MSG_CHECKING($1)
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 cat > conftest.cc << EOF
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 -#include <octave/config.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 +#include <octave/f77-fcn.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 $2
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 EOF
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 ac_try="$MKOCTFILE -c conftest.cc"
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 diff -uNr a/src/dbleGSVD.cc b/src/dbleGSVD.cc
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 --- a/src/dbleGSVD.cc 2015-01-24 14:54:11.000000000 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 +++ b/src/dbleGSVD.cc 2018-01-09 18:01:43.855211637 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 @@ -14,10 +14,6 @@
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 // You should have received a copy of the GNU General Public License along with
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 // this program; if not, see <http://www.gnu.org/licenses/>.
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 -#ifdef HAVE_CONFIG_H
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 -#include <config.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 -#endif
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 -
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 #include <iostream>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 #include "dbleGSVD.h"
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 diff -uNr a/src/gsvd.cc b/src/gsvd.cc
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 --- a/src/gsvd.cc 2015-01-24 14:54:11.000000000 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 +++ b/src/gsvd.cc 2018-01-09 18:02:03.650366267 -0500
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 @@ -14,10 +14,6 @@
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 // You should have received a copy of the GNU General Public License along with
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 // this program; if not, see <http://www.gnu.org/licenses/>.
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 -#ifdef HAVE_CONFIG_H
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 -#include <config.h>
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 -#endif
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 -
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 #include "CmplxGSVD.h"
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 #include "dbleGSVD.h"
705d0432dbf1 of-linear-algebra: don't use config.h
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66