Fixed ALUT/OpenAL framework handling on Mac with autoconf.
This commit is contained in:
parent
31a66f3b66
commit
59215b098c
1 changed files with 2 additions and 3 deletions
|
@ -432,13 +432,12 @@ case "${host}" in
|
||||||
|
|
||||||
# Mac OS X has OpenAL.framework, but no ALUT, by default, so we
|
# Mac OS X has OpenAL.framework, but no ALUT, by default, so we
|
||||||
# require use of a non-Apple ALUT.framework which we provide
|
# require use of a non-Apple ALUT.framework which we provide
|
||||||
LIBS="$LIBS -framework IOKit -framework OpenAL"
|
openal_LIBS="-framework IOKit -framework OpenAL"
|
||||||
openal_LIBS="$LIBS"
|
|
||||||
|
|
||||||
AC_CHECK_FRAMEWORK(OpenAL, [#include <OpenAL/al.h>], "", [OPENAL_OK="yes"])
|
AC_CHECK_FRAMEWORK(OpenAL, [#include <OpenAL/al.h>], "", [OPENAL_OK="yes"])
|
||||||
AC_CHECK_FRAMEWORK(ALUT, [#include <ALUT/alut.h>], $with_alut_framework, [
|
AC_CHECK_FRAMEWORK(ALUT, [#include <ALUT/alut.h>], $with_alut_framework, [
|
||||||
ALUT_OK="yes"
|
ALUT_OK="yes"
|
||||||
LIBS = "$LIBS -framework ALUT"
|
openal_LIBS="$openal_LIBS -framework ALUT"
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue