# HG changeset patch # User Mike Miller # Date 1377006289 14400 # Node ID d5efffe5a7894fd573953851927d86e1a42ccc8d # Parent f519560bfcb4d42ad5e5ece67df886fe53a0281f graphics.cc: Condition tests on HAVE_FLTK * libinterp/corefcn/graphics.cc: Condition tests that explicitly call graphics_toolkit (hf, "fltk") on HAVE_FLTK. diff -r f519560bfcb4 -r d5efffe5a789 libinterp/corefcn/graphics.cc --- 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");