winecoreaudio: Fix deprecation warnings in audiounit.c.
diff --git a/configure.ac b/configure.ac
index c0a9d7f..b4be299 100644
--- a/configure.ac
+++ b/configure.ac
@@ -719,6 +719,11 @@
dnl CoreServices needed by AudioUnit
AC_SUBST(COREAUDIO,"-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI")
fi
+ dnl Check for the AUGraphAddNode function
+ ac_save_LIBS="$LIBS"
+ LIBS="$LIBS $COREAUDIO"
+ AC_CHECK_FUNCS(AUGraphAddNode)
+ LIBS="$ac_save_LIBS"
fi
if test "$ac_cv_header_OpenAL_al_h" = "yes"
then