-dnl ** Enable the building of the OpenGL/GLUT binding?
-dnl --------------------------------------------------------------
-AC_ARG_ENABLE(hopengl,
-[ --enable-hopengl
- Build HOpenGL, a Haskell binding for OpenGL/GLUT.
- On Mac OS X, use --enable-hopengl=x11 to use X11 instead
- of the "native" libraries.
-],
-[GhcLibsWithOpenGL=YES; GhcLibsWithGLUT=YES],
-[GhcLibsWithOpenGL=NO; GhcLibsWithGLUT=NO]
-)
-UseQuartzOpenGL=NO
-if test x"$TargetOS_CPP" = x"darwin"; then
- if test x"$enable_hopengl" != x"x11"; then
- AC_DEFINE([USE_QUARTZ_OPENGL], [1],
- [Define to 1 if native OpenGL should be used on Mac OS X])
- UseQuartzOpenGL=YES
- fi
-fi
-
-AC_SUBST([GhcLibsWithOpenGL])
-AC_SUBST([GhcLibsWithGLUT])
-