# HG changeset patch # User John W. Eaton # Date 1273179323 14400 # Node ID 31717cc7eeb398f4a8e6375da24a2a6bf01bff0a # Parent f5f6bde82e1994c1e8f2889d261fa7933dd1ca48 don't compile gl2ps.c unless we have OpenGL diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-05-06 John W. Eaton + + * xgl2ps.c: Don't compile gl2ps.c unless we have OpenGL. + From Petr Mikulik . + 2010-05-06 John W. Eaton * ov-range.cc (octave_range::index_vector): diff --git a/src/xgl2ps.c b/src/xgl2ps.c --- a/src/xgl2ps.c +++ b/src/xgl2ps.c @@ -27,4 +27,8 @@ #include #endif +#if defined (HAVE_OPENGL) + #include "gl2ps.c" + +#endif