echo 'Creating brew-patch.diff' cat << EOF >> brew-patch.diff diff --git a/configure.ac b/configure.ac index 2b26d6d..4001db1 100644 --- a/configure.ac +++ b/configure.ac @@ -83,7 +83,8 @@ AC_DEFINE([ALUT_BUILD_LIBRARY], [1], [Define to 1 if you want to build the ALUT # Checks for libraries. (not perfect yet) AC_SEARCH_LIBS([pthread_self], [pthread]) -AC_SEARCH_LIBS([alGetError], [openal32 openal]) +# Use Mac OS X frameworks +LIBS="$LIBS -framework IOKit -framework OpenAL" ################################################################################ # Checks for header files. EOF