
New patches:

[openal mac os x patch part 1
Thorkil Naur <naur@post11.tele.dk>**20070210151407
 This is the first and main part of the patch
   [Fix building problem for Mac OS X
   shelarcy <shelarcy@capella.freemail.ne.jp>**20060907023009]
 provided as an attachment to GHC trac ticket 918 (file
 openal-mac-os-x.patch). This first part deals with the Mac OS X
 building problem.
] {
hunk ./aclocal.m4 171
+
+# FP_CHECK_OPENAL
+# -------------
+AC_DEFUN([FP_CHECK_OPENAL],
+[AC_REQUIRE([AC_CANONICAL_TARGET])
+AL_CFLAGS=
+case $target_os in
+darwin*)
+  AL_LIBS=
+  AL_FRAMEWORKS=OpenAL
+  ;;
+*)
+  AC_SEARCH_LIBS([alGenSources], [openal openal32], [AL_LIBS="$ac_cv_search_alGenSources"])
+  test x"$AL_LIBS" = x"none required" && AL_LIBS=
+  AC_SUBST([AL_LIBS])
+  AL_FRAMEWORKS=
+  ;;
+esac
+AC_SUBST([AL_CFLAGS])
+AC_SUBST([AL_FRAMEWORKS])
+])# FP_CHECK_OPENAL
+
hunk ./configure.ac 11
-# Shall we build this package at all?
-FP_ARG_OPENAL
hunk ./configure.ac 13
-if test x"$enable_openal" = xyes; then
-
hunk ./configure.ac 15
-# The following test for the OpenAL library is a bit of a hack, but gives nice
-# feedback even for the case when no additional library is needed. (Mac OS X?)
-AL_LIBS=no
-AC_SEARCH_LIBS([alGenSources], [openal openal32], [AL_LIBS="$ac_cv_search_alGenSources"])
-test x"$AL_LIBS" = x"none required" && AL_LIBS=
-AC_SUBST([AL_LIBS])
+# Shall we build this package at all?
+FP_ARG_OPENAL
+
+if test x"$enable_openal" = xyes; then
+
+# Check for ALUT include paths and libraries
+FP_CHECK_OPENAL
hunk ./configure.ac 27
-# Ugly...
-AL_FRAMEWORKS=
-case $host_os in
-darwin*)
-  AL_FRAMEWORKS=OpenAL
-  ;;
-esac
-AC_SUBST([AL_FRAMEWORKS])
-
+# check for ALUT include files
hunk ./configure.ac 30
-if test -z "$AL_FRAMEWORKS" && test x"$fp_found_al_header$fp_found_alc_header" != xyesyes; then
+
+if test x"$fp_found_al_header" = xno || test x"$fp_found_alc_header" = xno; then
}

Context:

[includes -> install-includes
Ross Paterson <ross@soi.city.ac.uk>**20060829123744] 
[exclude Setup.hs even if not building package
Ross Paterson <ross@soi.city.ac.uk>**20060825222702] 
[exclude Setup.hs from build
Ross Paterson <ross@soi.city.ac.uk>**20060824183534] 
[add boilerplate Setup.hs
Ross Paterson <ross@soi.city.ac.uk>**20060824115102] 
[add files used by configure
Ross Paterson <ross@soi.city.ac.uk>**20060518174356] 
[Fixed bug #715 (OpenAL package fails to compile with older headers)
Sven Panne <sven.panne@aedion.de>**20060507164755] 
[TAG Initial conversion from CVS complete
John Goerzen <jgoerzen@complete.org>**20060112154136] 
Patch bundle hash:
21a011b552d165ce0aea5ddea7650515c34dcdb0

