@@ -49,12 +49,21 @@ do_configure() {
|
|||||||
fi
|
fi
|
||||||
unset CPP
|
unset CPP
|
||||||
|
|
||||||
|
local want_sdl="--disable-sdl"
|
||||||
|
local audio_sdl=""
|
||||||
|
if [ "$build_option_sdl" ] || [ "$build_option_sdl2" ]; then
|
||||||
|
want_sdl="--enable-sdl"
|
||||||
|
audio_sdl=",sdl"
|
||||||
|
fi
|
||||||
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
|
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
|
||||||
--enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen --enable-tpm \
|
--enable-kvm --audio-drv-list=alsa,pa${audio_sdl} \
|
||||||
|
--disable-xen --enable-tpm \
|
||||||
--enable-vhost-net --enable-vnc-png --enable-virtfs \
|
--enable-vhost-net --enable-vnc-png --enable-virtfs \
|
||||||
--enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \
|
--enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \
|
||||||
--enable-pie --localstatedir=/var \
|
--enable-pie --localstatedir=/var \
|
||||||
$(vopt_enable virgl virglrenderer) $(vopt_enable opengl) $(vopt_enable spice) \
|
$(vopt_enable virgl virglrenderer) $(vopt_enable opengl) $(vopt_enable spice) \
|
||||||
|
${want_sdl} \
|
||||||
$(vopt_if sdl "--with-sdlabi=1.2") \
|
$(vopt_if sdl "--with-sdlabi=1.2") \
|
||||||
$(vopt_if sdl2 "--with-sdlabi=2.0") \
|
$(vopt_if sdl2 "--with-sdlabi=2.0") \
|
||||||
$(vopt_enable gtk) ${args}
|
$(vopt_enable gtk) ${args}
|
||||||
|
|||||||
Reference in New Issue
Block a user