[project @ 2003-07-30 09:21:12 by wolfgang]
authorwolfgang <unknown>
Wed, 30 Jul 2003 09:21:12 +0000 (09:21 +0000)
committerwolfgang <unknown>
Wed, 30 Jul 2003 09:21:12 +0000 (09:21 +0000)
OpenGL support for Mac OS X:

In FPTOOLS_CHECK_HTYPE, be ready to include Apple's non-standard
<OpenGL/gl.h>
instead of the usual <GL/gl.h>.

aclocal.m4

index d67dc28..d6b33b0 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: aclocal.m4,v 1.120 2003/07/20 16:33:24 panne Exp $
+dnl $Id: aclocal.m4,v 1.121 2003/07/30 09:21:12 wolfgang Exp $
 dnl 
 dnl Extra autoconf macros for the Glasgow fptools
 dnl
 dnl 
 dnl Extra autoconf macros for the Glasgow fptools
 dnl
@@ -691,6 +691,10 @@ AC_CACHE_VAL(AC_CV_NAME,
 # include <GL/gl.h>
 #endif
 
 # include <GL/gl.h>
 #endif
 
+#ifdef HAVE_OPENGL_GL_H
+# include <OpenGL/gl.h>
+#endif
+
 #ifdef HAVE_SYS_RESOURCE_H
 # include <sys/resource.h>
 #endif
 #ifdef HAVE_SYS_RESOURCE_H
 # include <sys/resource.h>
 #endif