Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut.
This commit is contained in:
parent
32cb0df98e
commit
6f8aa7b331
11 changed files with 14 additions and 14 deletions
|
@ -242,11 +242,11 @@ base_LIBS="$LIBS"
|
|||
dnl check for glut location
|
||||
AC_CHECK_HEADER(GL/glut.h)
|
||||
if test "x$ac_cv_header_GL_glut_h" = "xyes"; then
|
||||
AC_DEFINE([GLUT_H], <GL/glut.h>, [Define as glut.h include location])
|
||||
AC_DEFINE([FG_GLUT_H], <GL/glut.h>, [Define as glut.h include location])
|
||||
else
|
||||
AC_CHECK_HEADER(GLUT/glut.h)
|
||||
if test "x$ac_cv_header_GLUT_glut_h" = "xyes"; then
|
||||
AC_DEFINE([GLUT_H], <GLUT/glut.h>, [Define as glut.h include location])
|
||||
AC_DEFINE([FG_GLUT_H], <GLUT/glut.h>, [Define as glut.h include location])
|
||||
else
|
||||
echo "Neither GL/glut.h nor GLUT/glut.h found. Cannot continue"
|
||||
exit
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include GLUT_H // needed before pu.h
|
||||
#include FG_GLUT_H // needed before pu.h
|
||||
|
||||
#include <plib/pu.h> // plib include
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include GLUT_H // needed before pu.h
|
||||
#include FG_GLUT_H // needed before pu.h
|
||||
#include <plib/pu.h> // plib include
|
||||
|
||||
#include <FDM/flight.hxx>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
|
||||
#if defined(FX) && defined(XMESA)
|
||||
# include <GL/xmesa.h>
|
||||
|
|
|
@ -189,8 +189,8 @@
|
|||
#define ENABLE_AUDIO_SUPPORT
|
||||
#endif
|
||||
|
||||
#ifndef GLUT_H
|
||||
#define GLUT_H <GL/glut.h>
|
||||
#endif // #ifndef GLUT_H
|
||||
#ifndef FG_GLUT_H
|
||||
#define FG_GLUT_H <GL/glut.h>
|
||||
#endif // #ifndef FG_GLUT_H
|
||||
|
||||
// eof - config.h-msvc6 - single flightgear config.h file
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include STL_STRING
|
||||
#include <vector>
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
|
||||
#include <plib/pu.h>
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ SG_USING_STD(endl);
|
|||
# include <float.h>
|
||||
#endif
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
|
||||
#ifdef macintosh
|
||||
# include <console.h> // -dw- for command line dialog
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#endif
|
||||
#include <math.h>
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#endif
|
||||
#include <math.h>
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include GLUT_H
|
||||
#include FG_GLUT_H
|
||||
|
||||
#include <plib/sg.h> // plib include
|
||||
|
||||
|
|
Loading…
Reference in a new issue