From 59215b098c8ac38d9c87ec55bc4c736a448436ff Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 6 May 2010 15:40:00 +0100 Subject: [PATCH] Fixed ALUT/OpenAL framework handling on Mac with autoconf. --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3292bfdf1..ddd9ce5bf 100644 --- a/configure.ac +++ b/configure.ac @@ -432,13 +432,12 @@ case "${host}" in # Mac OS X has OpenAL.framework, but no ALUT, by default, so we # require use of a non-Apple ALUT.framework which we provide - LIBS="$LIBS -framework IOKit -framework OpenAL" - openal_LIBS="$LIBS" + openal_LIBS="-framework IOKit -framework OpenAL" AC_CHECK_FRAMEWORK(OpenAL, [#include ], "", [OPENAL_OK="yes"]) AC_CHECK_FRAMEWORK(ALUT, [#include ], $with_alut_framework, [ ALUT_OK="yes" - LIBS = "$LIBS -framework ALUT" + openal_LIBS="$openal_LIBS -framework ALUT" ]) ;;