From: Richard Kettlewell Date: Sat, 3 Oct 2009 13:15:01 +0000 (+0100) Subject: Turn off deprecated symbol warnings under OS X. X-Git-Tag: 5.0~93 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/529a6ee3cc5bf12218e1956a68331741cac0565f Turn off deprecated symbol warnings under OS X. --- diff --git a/configure.ac b/configure.ac index 8b2e278..f9d9b04 100644 --- a/configure.ac +++ b/configure.ac @@ -120,6 +120,9 @@ case "$host" in 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