Re: [Qemu-devel] [PATCH v2 3/4] configure: Let SDL support be optional on OpenBSD

2019-01-24 Thread Gerd Hoffmann
On Thu, Jan 24, 2019 at 02:51:08PM +0100, Philippe Mathieu-Daudé wrote: > On 1/24/19 12:23 PM, Gerd Hoffmann wrote: > >> sdl) > >> if test "$sdl" = "no"; then > >> -error_exit "sdl not found or disabled, can not use sdl audio > >> driver" > >> +echo "WARN: sdl not found o

Re: [Qemu-devel] [PATCH v2 3/4] configure: Let SDL support be optional on OpenBSD

2019-01-24 Thread Philippe Mathieu-Daudé
On 1/24/19 12:23 PM, Gerd Hoffmann wrote: >> sdl) >> if test "$sdl" = "no"; then >> -error_exit "sdl not found or disabled, can not use sdl audio driver" >> +echo "WARN: sdl not found or disabled, can not use sdl audio driver" >> +audio_drv_list=$(echo "$audio_drv_

Re: [Qemu-devel] [PATCH v2 3/4] configure: Let SDL support be optional on OpenBSD

2019-01-24 Thread Philippe Mathieu-Daudé
On 1/24/19 12:44 PM, Peter Maydell wrote: > On Thu, 24 Jan 2019 at 01:16, Philippe Mathieu-Daudé > wrote: >> --- a/configure >> +++ b/configure >> @@ -3379,7 +3379,8 @@ for drv in $audio_drv_list; do >> >> sdl) >> if test "$sdl" = "no"; then >> -error_exit "sdl not found or d

Re: [Qemu-devel] [PATCH v2 3/4] configure: Let SDL support be optional on OpenBSD

2019-01-24 Thread Peter Maydell
On Thu, 24 Jan 2019 at 01:16, Philippe Mathieu-Daudé wrote: > --- a/configure > +++ b/configure > @@ -3379,7 +3379,8 @@ for drv in $audio_drv_list; do > > sdl) > if test "$sdl" = "no"; then > -error_exit "sdl not found or disabled, can not use sdl audio driver" > +echo "W

Re: [Qemu-devel] [PATCH v2 3/4] configure: Let SDL support be optional on OpenBSD

2019-01-24 Thread Gerd Hoffmann
> sdl) > if test "$sdl" = "no"; then > -error_exit "sdl not found or disabled, can not use sdl audio driver" > +echo "WARN: sdl not found or disabled, can not use sdl audio driver" > +audio_drv_list=$(echo "$audio_drv_list" | sed -e 's/sdl *//g') Busy tackling tha

[Qemu-devel] [PATCH v2 3/4] configure: Let SDL support be optional on OpenBSD

2019-01-23 Thread Philippe Mathieu-Daudé
Currently if we try to build QEMU on OpenBSD with SDL disabled, we get: $ ./configure --cc=x86_64-unknown-openbsd6.1-gcc-4.9.4 --python=python2.7 --disable-sdl ERROR: sdl not found or disabled, can not use sdl audio driver Since SDL is not a requirement for OpenBSD, let it be optional. If i