From 09f987eeb1c5de94385d2934628b2514295f2216 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 30 Apr 2001 17:17:01 +0000 Subject: Separate test for GLU and GL... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/CubeView.h | 5 ++--- test/fractals.cxx | 8 ++++---- test/glpuzzle.cxx | 8 ++++---- 3 files changed, 10 insertions(+), 11 deletions(-) (limited to 'test') diff --git a/test/CubeView.h b/test/CubeView.h index 3678bd244..a022eb6a1 100644 --- a/test/CubeView.h +++ b/test/CubeView.h @@ -1,5 +1,5 @@ // -// "$Id: CubeView.h,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $" +// "$Id: CubeView.h,v 1.4.2.4 2001/04/30 17:17:01 easysw Exp $" // // CubeView class definitions for the Fast Light Tool Kit (FLTK). // @@ -30,7 +30,6 @@ #if HAVE_GL # include # include -# include #else # include #endif /* HAVE_GL */ @@ -119,5 +118,5 @@ private: #endif // -// End of "$Id: CubeView.h,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $". +// End of "$Id: CubeView.h,v 1.4.2.4 2001/04/30 17:17:01 easysw Exp $". // diff --git a/test/fractals.cxx b/test/fractals.cxx index d94d5be86..bbe87ea34 100644 --- a/test/fractals.cxx +++ b/test/fractals.cxx @@ -1,5 +1,5 @@ // -// "$Id: fractals.cxx,v 1.5.2.5 2001/03/14 17:35:47 spitzak Exp $" +// "$Id: fractals.cxx,v 1.5.2.6 2001/04/30 17:17:01 easysw Exp $" // // Fractal drawing demo for the Fast Light Tool Kit (FLTK). // @@ -28,11 +28,11 @@ // #include -#if !HAVE_GL +#if !HAVE_GL || !HAVE_GL_GLU_H #include #include int main(int, char**) { - fl_alert("This demo does not work without GL"); + fl_alert("This demo does not work without GL and GLU"); return 1; } #else @@ -806,5 +806,5 @@ int main(int argc, char** argv) #endif // -// End of "$Id: fractals.cxx,v 1.5.2.5 2001/03/14 17:35:47 spitzak Exp $". +// End of "$Id: fractals.cxx,v 1.5.2.6 2001/04/30 17:17:01 easysw Exp $". // diff --git a/test/glpuzzle.cxx b/test/glpuzzle.cxx index cf8cf5c9c..5a6bc9dd7 100644 --- a/test/glpuzzle.cxx +++ b/test/glpuzzle.cxx @@ -1,5 +1,5 @@ // -// "$Id: glpuzzle.cxx,v 1.8.2.4 2001/03/14 17:35:47 spitzak Exp $" +// "$Id: glpuzzle.cxx,v 1.8.2.5 2001/04/30 17:17:01 easysw Exp $" // // OpenGL puzzle demo for the Fast Light Tool Kit (FLTK). // @@ -28,11 +28,11 @@ // this block added for fltk's distribtion so it will compile w/o OpenGL: #include -#if !HAVE_GL +#if !HAVE_GL || !HAVE_GL_GLU_H #include #include int main(int, char**) { - fl_alert("This demo does not work without GL"); + fl_alert("This demo does not work without GL and GLU"); return 1; } #else @@ -1480,5 +1480,5 @@ main(int argc, char **argv) #endif // added for fltk's distribution // -// End of "$Id: glpuzzle.cxx,v 1.8.2.4 2001/03/14 17:35:47 spitzak Exp $". +// End of "$Id: glpuzzle.cxx,v 1.8.2.5 2001/04/30 17:17:01 easysw Exp $". // -- cgit v1.2.3