chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Turn off deprecated symbol warnings under OS X.
[disorder]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 8b2e278c846cfade6f7aea4c389c718f569dc739..f9d9b04bde9be61dd3d77255fc3d07441e1a0873 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-120,6
+120,9
@@
case "$host" in
fi
AC_MSG_RESULT([$BITS])
CC="$CC -m$BITS"
fi
AC_MSG_RESULT([$BITS])
CC="$CC -m$BITS"
+ # AudioHardwareGetProperty is deprecated in 10.6, but it's still _there_,
+ # so we'll just turn off the warning.
+ CC="$CC -Wno-deprecated-declarations"
if test $want_coreaudio = yes; then
COREAUDIO="-framework CoreFoundation -framework CoreServices -framework CoreAudio"
fi
if test $want_coreaudio = yes; then
COREAUDIO="-framework CoreFoundation -framework CoreServices -framework CoreAudio"
fi