X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=7bc993f3432f8f10571accdfd60bf0fb7bc1ca0b;hb=e3dc3922399305df9c8320586c9add3b33f846d8;hp=c2b79d6ce227caac04bb24f4c66af0ad0f7e40c2;hpb=8abedd122bf6f96ce8151dc86dd2c7727b639de5;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index c2b79d6..7bc993f 100644 --- a/configure.ac +++ b/configure.ac @@ -619,7 +619,7 @@ AC_ARG_ENABLE(objectio, ) AC_SUBST(GhcLibsWithObjectIO) -dnl ** Enable the building of the OpenGL/GLUT binding in hslibs? +dnl ** Enable the building of the OpenGL/GLUT binding? dnl -------------------------------------------------------------- AC_ARG_ENABLE(hopengl, [ --enable-hopengl @@ -642,6 +642,19 @@ fi AC_SUBST([GhcLibsWithOpenGL]) AC_SUBST([GhcLibsWithGLUT]) +dnl ** Enable the building of the OpenAL binding? +dnl -------------------------------------------------------------- +AC_ARG_ENABLE([openal], + AC_HELP_STRING([--enable-openal], + [Build OpenAL binding [[default=autodetect]]]), + [GhcLibsWithOpenAL=$enableval], + [GhcLibsWithOpenAL=yes]) + +# This is silly! Alas, "YES" and "NO" are currently our standard... +GhcLibsWithOpenAL=`echo $GhcLibsWithOpenGL | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + +AC_SUBST([GhcLibsWithOpenAL]) + dnl ** .NET interop support? dnl -------------------------------------------------------------- AC_ARG_ENABLE(dotnet,