chiark / gitweb /
Turn off deprecated symbol warnings under OS X.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 3 Oct 2009 13:15:01 +0000 (14:15 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 3 Oct 2009 13:15:01 +0000 (14:15 +0100)
configure.ac

index 8b2e278c846cfade6f7aea4c389c718f569dc739..f9d9b04bde9be61dd3d77255fc3d07441e1a0873 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