On 1 July 2010 15:30, Jason Grout <jason-s...@creativetrax.com> wrote:

> Would it make sense to have a sage-wide SAGE_COMPILE_GUI switch that enables
> these command-line graphics options for all packages, rather than having
> separate matplotlib, R, etc., compile option variables?
>
> Thanks,
>
> Jason

It makes sence to have a  SAGE_COMPILE_GUI  in *addition* to the
current variables for building GUI's, but not instead of. Otherwise,
if for some reason the GUI for FOOBAR can't be built, it prevents the
GUI's for all other parts being built.


Hence have something like

if [ "x$SAGE_COMPILE_GUI" = xyes ] || [ "x$SAGE_MATPLOTLIB_USE_GUI" =
xyes ] ; then
  configure --enable-gui
else
  configure --disable-gui
fi

Dave


Dave

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to