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