diff options
| author | Paolo Bonzini | 2021-11-02 12:24:39 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2021-11-02 15:57:28 +0100 |
| commit | 6ed3e1482b4e373195bea36bbeba59d6fe76a999 (patch) | |
| tree | e8d0e3d89d42f84025faa505df9f887f3a2148ec | |
| parent | meson: remove pointless warnings (diff) | |
| download | qemu-6ed3e1482b4e373195bea36bbeba59d6fe76a999.tar.gz qemu-6ed3e1482b4e373195bea36bbeba59d6fe76a999.tar.xz qemu-6ed3e1482b4e373195bea36bbeba59d6fe76a999.zip | |
meson: remove unnecessary coreaudio test program
AudioGetCurrentHostTime has been present forever, so the test is not
enforcing a specific version of macOS. In fact the test was broken
since it was not linking against the coreaudio dependency; just remove it.
Fixes: 87430d5b13 ("configure, meson: move audio driver detection to Meson", 2021-10-14)
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | meson.build | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/meson.build b/meson.build index d09e314e04..30b06b12b4 100644 --- a/meson.build +++ b/meson.build @@ -944,22 +944,6 @@ coreaudio = not_found if not get_option('coreaudio').auto() or (targetos == 'darwin' and have_system) coreaudio = dependency('appleframeworks', modules: 'CoreAudio', required: get_option('coreaudio')) - if coreaudio.found() and not cc.links(''' - #include <CoreAudio/CoreAudio.h> - int main(void) - { - return (int)AudioGetCurrentHostTime(); - }''') - coreaudio = not_found - endif - - if not coreaudio.found() - if get_option('coreaudio').enabled() - error('CoreAudio not found') - else - warning('CoreAudio not found, disabling') - endif - endif endif opengl = not_found |
