e576bb2002-10-11Martin Nilsson /* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. */
95f8931999-11-14Per Hedbor 
14008d2018-01-18Martin Nilsson #include "module.h"
95f8931999-11-14Per Hedbor #include "config.h" #include "pike_macros.h" #include "program.h" #include "interpret.h" #include "builtin_functions.h"
b2d3e42000-12-01Fredrik Hübinette (Hubbe) #include "pike_error.h"
6dc2772000-07-28Fredrik Hübinette (Hubbe) 
a944e62003-05-12 Eli Green #define GLUT_API_VERSION 4
05be931999-12-12Per Hedbor #ifdef HAVE_LIBGLUT
a944e62003-05-12 Eli Green #ifdef HAVE_GLUT_GLUT_H #include <GLUT/glut.h>
9ae0022017-04-11William Welliver #else #ifdef HAVE_GL_GLUT_H
3cc4be2017-04-11Henrik Grubbström (Grubba) #include <GL/glut.h>
9ae0022017-04-11William Welliver #endif /* HAVE_GL_GLUT_H */ #endif /* HAVE_GLUT_GLUT_H */ #endif /* HAVE_LIBGLUT */
95f8931999-11-14Per Hedbor 
51ef5c2002-10-21Marcus Comstedt PIKE_MODULE_INIT
95f8931999-11-14Per Hedbor {
05be931999-12-12Per Hedbor #ifdef HAVE_LIBGLUT
a944e62003-05-12 Eli Green #if defined(HAVE_GL_GLUT_H) || defined(HAVE_GLUT_GLUT_H)
95f8931999-11-14Per Hedbor  extern void add_auto_funcs_glut(void); add_auto_funcs_glut(); #endif
05be931999-12-12Per Hedbor #endif
95f8931999-11-14Per Hedbor }
51ef5c2002-10-21Marcus Comstedt PIKE_MODULE_EXIT
95f8931999-11-14Per Hedbor { }