Turn off deprecated symbol warnings under OS X.
[disorder] / configure.ac
index 8b2e278..f9d9b04 100644 (file)
@@ -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