changeset 7958:9939bb6332a3

FTGL configure test fix
author John W. Eaton <jwe@octave.org>
date Mon, 21 Jul 2008 15:27:22 -0400
parents ba2e00a216e8
children a73b80cd1f10
files ChangeLog configure.in
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jul 21 15:23:29 2008 -0400
+++ b/ChangeLog	Mon Jul 21 15:27:22 2008 -0400
@@ -1,3 +1,8 @@
+2008-07-21  John W. Eaton  <jwe@octave.org>
+
+	* configure.in: If FTGL.h is found, then also include
+	FTGLTextureFont.h in test code.
+
 2008-07-21  Michael Goffioul  <michael.goffioul@gmail.com>
 
 	* configure.in: Remove GRAPHICS_OPENGL variable.
--- a/configure.in	Mon Jul 21 15:23:29 2008 -0400
+++ b/configure.in	Mon Jul 21 15:27:22 2008 -0400
@@ -677,12 +677,14 @@
 #ifdef HAVE_FTGL_FTGL_H
 #ifdef HAVE_FTGL_UPPERCASE
 #include <FTGL/FTGL.h>
+#include <FTGL/FTGLTextureFont.h>
 #else
 #include <FTGL/ftgl.h>
 #endif
 #elif HAVE_FTGL_H
 #ifdef HAVE_FTGL_UPPERCASE
 #include <FTGL.h>
+#include <FTGLTextureFont.h>
 #else
 #include <ftgl.h>
 #endif