--- ./libraries/Makefile.optional-openal 2007-11-19 22:45:17.000000000 +0100 +++ ./libraries/Makefile 2007-11-19 22:46:45.000000000 +0100 @@ -71,8 +71,10 @@ endif SUBDIRS += $(wildcard OpenGL) SUBDIRS += $(wildcard GLUT) +ifeq "$(GhcLibsWithOpenAL)" "YES" SUBDIRS += $(wildcard OpenAL) SUBDIRS += $(wildcard ALUT) +endif SUBDIRS += $(wildcard stm) SUBDIRS += $(wildcard xhtml) SUBDIRS += $(wildcard cgi) --- ./configure.ac.optional-openal 2007-11-19 22:39:05.000000000 +0100 +++ ./configure.ac 2007-11-19 22:44:26.000000000 +0100 @@ -806,6 +806,21 @@ ) AC_SUBST(GhcLibsWithObjectIO) +dnl ** Enable the building of the OpenAL? +dnl -------------------------------------------------------------- +AC_ARG_ENABLE(openal, +[AC_HELP_STRING([--enable-openal], +[Build OpenAL, a sound library for Haskell. [default=yes]])], +[ if test x"$enableval" = x"no"; then + GhcLibsWithOpenAL=NO + else + GhcLibsWithOpenAL=YES + fi +], +[GhcLibsWithOpenAL=YES] +) +AC_SUBST(GhcLibsWithOpenAL) + dnl ** .NET interop support? dnl -------------------------------------------------------------- AC_ARG_ENABLE(dotnet,