[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/24] configure: remove --oss-lib
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 01/24] configure: remove --oss-lib |
Date: |
Fri, 8 Oct 2021 11:19:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
On 07/10/21 22:42, Marc-André Lureau wrote:
Cc: Gerd Hoffman <kraxel@redhat.com <mailto:kraxel@redhat.com>>
Cc: Volker Rümelin <vr_qemu@t-online.de <mailto:vr_qemu@t-online.de>>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com
<mailto:pbonzini@redhat.com>>
Not just NetBSD. You could --audio-drv-list=oss and --oss-lib= to
specify the library to link with.
Yes, but the question is who would use --oss-lib. And secondarily, if
the answer is not "no one", whether they would be accomodated better by
a change to QEMU itself.
For example OpenBSD support was removed in 2013:
Remove OSS support for OpenBSD
Remove the OSS support for OpenBSD. The OSS API has not been usable
for quite some time.
Signed-off-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
However, if it came back from the dead, one could just
if not cc.has_header('sys/soundcard.h')
# not found
- elif targetos == 'netbsd'
+ elif targetos in ['netbsd', 'openbsd']
oss = cc.find_library('ossaudio', required: get_option('oss'),
kwargs: static_kwargs)
else
instead of using something like --oss-lib.
Paolo
- [PATCH 05/24] configure: add command line options for audio drivers, (continued)
- [PATCH 05/24] configure: add command line options for audio drivers, Paolo Bonzini, 2021/10/07
- [PATCH 02/24] audio: remove CONFIG_AUDIO_WIN_INT, Paolo Bonzini, 2021/10/07
- [PATCH 04/24] meson: define symbols for all available audio drivers, Paolo Bonzini, 2021/10/07
- [PATCH 03/24] configure, meson: move audio driver detection to Meson, Paolo Bonzini, 2021/10/07
- [PATCH 01/24] configure: remove --oss-lib, Paolo Bonzini, 2021/10/07
- [PATCH 07/24] configure, meson: move fuzzing configuration to Meson, Paolo Bonzini, 2021/10/07
- [PATCH 08/24] trace: simple: pass trace_file unmodified to config-host.h, Paolo Bonzini, 2021/10/07
- [PATCH 11/24] configure, meson: get HOST_WORDS_BIGENDIAN via the machine object, Paolo Bonzini, 2021/10/07
- [PATCH 09/24] trace: move configuration from configure to Meson, Paolo Bonzini, 2021/10/07
- [PATCH 13/24] configure, meson: move remaining HAVE_* compiler tests to Meson, Paolo Bonzini, 2021/10/07