File qemu.configure-prefix.patch of Package qemu
From: Olaf Hering <olaf@aepfle.de>
Date: Tue, 17 Apr 2018 19:19:06 +0200
Subject: configure prefix
configure: recognize more rpmbuild macros
Extend the list of recognized, but ignored options from rpms %configure
macro. This fixes build on hosts running SUSE Linux.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
configure | 1 +
1 file changed, 1 insertion(+)
--- a/configure
+++ b/configure
@@ -689,24 +689,25 @@ for opt do
if test -f "$cf"; then
device_archs="$device_archs $device_arch"
eval "devices_${device_arch}=\$optarg"
else
error_exit "File $cf does not exist"
fi
;;
--without-default-features) # processed above
;;
--static) static="yes"
;;
--host=*|--build=*|\
+ --program-prefix=*|--exec-prefix=*|\
--disable-dependency-tracking|\
--sbindir=*|--sharedstatedir=*|\
--oldincludedir=*|--datarootdir=*|--infodir=*|\
--htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
# These switches are silently ignored, for compatibility with
# autoconf-generated configure scripts. This allows QEMU's
# configure to be used by RPM and similar macros that set
# lots of directory switches by default.
;;
--enable-debug)
# Enable debugging options that aren't excessively noisy
meson_option_parse --enable-debug-tcg ""