From: Stefano Stabellini Subject: [PATCH v2 2/2] Update configure scripts by calling autogen Date: Thu, 16 Apr 2015 12:24:59 +0100 Message-ID: <1429183500-19015-2-git-send-email-stefano.stabellini@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: Ian.Jackson@eu.citrix.com, wei.liu2@citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org I run ./autogen.sh and committed the result. Signed-off-by: Stefano Stabellini --- tools/config.h.in | 3 +++ tools/configure | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/tools/config.h.in b/tools/config.h.in index 2a0ae48..b556961 100644 --- a/tools/config.h.in +++ b/tools/config.h.in @@ -93,6 +93,9 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION +/* Qemu Traditional Xen path */ +#undef QEMU_TRADITIONAL_PATH + /* Qemu Xen path */ #undef QEMU_XEN_PATH diff --git a/tools/configure b/tools/configure index a752acd..f691479 100755 --- a/tools/configure +++ b/tools/configure @@ -699,6 +699,7 @@ EXTRA_QEMUU_CONFIGURE_ARGS ovmf_path seabios_path qemu_xen +qemu_traditional_path rombios qemu_traditional blktap2 @@ -797,6 +798,7 @@ with_linux_backend_modules enable_blktap2 enable_qemu_traditional enable_rombios +with_system_qemu_traditional with_system_qemu with_system_seabios with_system_ovmf @@ -1489,6 +1491,10 @@ Optional Packages: --with-linux-backend-modules="mod1 mod2" List of Linux backend module or modalias names to be autoloaded on startup. + --with-system-qemu-traditional[=PATH] + Use system supplied qemu-traditional PATH or qemu-dm + (taken from $PATH) as qemu-traditional device model + instead of building and installing our own version --with-system-qemu[=PATH] Use system supplied qemu PATH or qemu (taken from $PATH) as qemu-xen device model instead of building @@ -4127,6 +4133,29 @@ fi +# Check whether --with-system-qemu-traditional was given. +if test "${with_system_qemu_traditional+set}" = set; then : + withval=$with_system_qemu_traditional; + case $withval in + yes) qemu_traditional=n; qemu_traditional_path=qemu-dm ;; + no) qemu_traditional=y; qemu_traditional_path= ;; + *) qemu_traditional=n; qemu_traditional_path=$withval ;; + esac + +fi + +if test "x$qemu_traditional" = "xn"; then : + + +cat >>confdefs.h <<_ACEOF +#define QEMU_TRADITIONAL_PATH "$qemu_traditional_path" +_ACEOF + + +fi + + + # Check whether --with-system-qemu was given. if test "${with_system_qemu+set}" = set; then : withval=$with_system_qemu; -- 1.7.10.4