Root/octave/patches/020-no-x-windows.patch

1Index: octave-3.2.4/configure
2===================================================================
3--- octave-3.2.4.orig/configure 2011-01-02 15:14:21.000000000 +0100
4+++ octave-3.2.4/configure 2011-01-02 15:14:32.000000000 +0100
5@@ -6892,7 +6892,7 @@
6 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7 fi
8 
9-if test "$have_x"; then
10+if test "$have_x" = "yes"; then
11 
12 $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h
13 
14Index: octave-3.2.4/configure.in
15===================================================================
16--- octave-3.2.4.orig/configure.in 2011-01-02 15:14:20.000000000 +0100
17+++ octave-3.2.4/configure.in 2011-01-02 15:14:25.000000000 +0100
18@@ -258,7 +258,7 @@
19 ACX_PTHREAD
20 
21 AC_PATH_X
22-if test "$have_x"; then
23+if test "$have_x" = "yes"; then
24   AC_DEFINE(HAVE_X_WINDOWS, 1, [Define if you have X11])
25 
26   if test "$x_includes" != "NONE"; then
27

Archive Download this file



interactive