diff src/xgl2ps.c @ 10611:31717cc7eeb3

don't compile gl2ps.c unless we have OpenGL
author John W. Eaton <jwe@octave.org>
date Thu, 06 May 2010 16:55:23 -0400
parents 66d56fb7cbb8
children fd0a3ac60b0e
line wrap: on
line diff
--- a/src/xgl2ps.c
+++ b/src/xgl2ps.c
@@ -27,4 +27,8 @@
 #include <config.h>
 #endif
 
+#if defined (HAVE_OPENGL)
+
 #include "gl2ps.c"
+
+#endif