octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A patch for building octave-3.3.50+


From: Ole Jacob Hagen
Subject: A patch for building octave-3.3.50+
Date: Mon, 18 Jan 2010 00:59:15 -0800 (PST)

Hi, 

I was required to patch my configure.ac to be able to build octave-3.3.50+
on my Gentoo box. 
The main problem was that GRAPHICS_CPPFLAGS was used as flags for building
fltk_backend.cc, but GRAPHICS_CPPFLAGS was never initialized. 

Therefore I changed the configure.ac file like this:
 
diff -r 82ed1b4c3011 configure.ac
--- a/configure.ac      Sun Jan 17 22:09:05 2010 +0100
+++ b/configure.ac      Mon Jan 18 10:00:24 2010 +0000
@@ -807,6 +807,8 @@

 GRAPHICS_LIBS=
 GRAPHICS_CFLAGS=
+GRAPHICS_CPPFLAGS=
+

 ## fltk (www.fltk.org)
 AC_ARG_WITH(fltk-prefix,
@@ -861,6 +863,7 @@
     AC_MSG_RESULT(yes)
     AC_DEFINE(HAVE_FLTK, 1, [Define if FLTK is available])
     GRAPHICS_CFLAGS="$FLTK_CFLAGS"
+    GRAPHICS_CPPFLAGS="$FLTK_CFLAGS"
     GRAPHICS_LIBS="$FLTK_LDFLAGS"
   else
     AC_MSG_RESULT(no)
@@ -868,6 +871,7 @@
 fi

 AC_SUBST(GRAPHICS_CFLAGS)
+AC_SUBST(GRAPHICS_CPPFLAGS)
 AC_SUBST(GRAPHICS_LIBS)

 # ----------------------------------------------------------------------


Best regards, 

Ole J. Hagen
-- 
View this message in context: 
http://old.nabble.com/A-patch-for-building-octave-3.3.50%2B-tp27207667p27207667.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]