changeset 17286:d5efffe5a789

graphics.cc: Condition tests on HAVE_FLTK * libinterp/corefcn/graphics.cc: Condition tests that explicitly call graphics_toolkit (hf, "fltk") on HAVE_FLTK.
author Mike Miller <mtmiller@ieee.org>
date Tue, 20 Aug 2013 09:44:49 -0400
parents f519560bfcb4
children 011e5d67baf1
files libinterp/corefcn/graphics.cc
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Tue Aug 20 06:56:51 2013 -0700
+++ b/libinterp/corefcn/graphics.cc	Tue Aug 20 09:44:49 2013 -0400
@@ -4092,7 +4092,7 @@
 }
 
 /*
-%!test
+%!testif HAVE_FLTK
 %! hf = figure ("visible", "off");
 %! graphics_toolkit (hf, "fltk");
 %! unwind_protect
@@ -4111,7 +4111,7 @@
 %! unwind_protect_cleanup
 %!   close (hf);
 %! end_unwind_protect
-%!test
+%!testif HAVE_FLTK
 %! hf = figure ("visible", "off");
 %! graphics_toolkit (hf, "fltk");
 %! fpos = get (hf, "position");
@@ -4130,7 +4130,7 @@
 %! unwind_protect_cleanup
 %!   close (hf);
 %! end_unwind_protect
-%!test
+%!testif HAVE_FLTK
 %! hf = figure ("visible", "off");
 %! graphics_toolkit (hf, "fltk");
 %! fpos = get (hf, "position");