Blame 0805-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch

Paolo Bonzini 31bb19
From 38f419f35225decdbaea9fe1fd00218f8924ce84 Mon Sep 17 00:00:00 2001
Paolo Bonzini 31bb19
From: Jan Kiszka <jan.kiszka@siemens.com>
Paolo Bonzini 31bb19
Date: Wed, 17 Oct 2012 19:09:25 +0200
Paolo Bonzini 31bb19
Subject: [PATCH] configure: Fix CONFIG_QEMU_HELPERDIR generation
Paolo Bonzini 31bb19
Paolo Bonzini 31bb19
We need to evaluate $libexecdir in configure, otherwise we literally end
Paolo Bonzini 31bb19
up with "${prefix}/libexec" instead of the absolute path as
Paolo Bonzini 31bb19
CONFIG_QEMU_HELPERDIR.
Paolo Bonzini 31bb19
Paolo Bonzini 31bb19
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Paolo Bonzini 31bb19
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Paolo Bonzini 31bb19
---
Paolo Bonzini 31bb19
 configure | 2 +-
Paolo Bonzini 31bb19
 1 file modificato, 1 inserzione(+). 1 rimozione(-)
Paolo Bonzini 31bb19
Paolo Bonzini 31bb19
diff --git a/configure b/configure
Paolo Bonzini 31bb19
index f9c31f4..9f33c7d 100755
Paolo Bonzini 31bb19
--- a/configure
Paolo Bonzini 31bb19
+++ b/configure
Paolo Bonzini 31bb19
@@ -3200,7 +3200,7 @@ echo "qemu_confdir=$qemu_confdir" >> $config_host_mak
Paolo Bonzini 156e0f
 echo "qemu_confdir=$qemu_confdir" >> $config_host_mak
Paolo Bonzini 31bb19
 echo "qemu_datadir=$qemu_datadir" >> $config_host_mak
Paolo Bonzini 31bb19
 echo "qemu_docdir=$qemu_docdir" >> $config_host_mak
Paolo Bonzini 31bb19
-echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak
Paolo Bonzini 31bb19
+echo "CONFIG_QEMU_HELPERDIR=\"`eval echo $libexecdir`\"" >> $config_host_mak
Paolo Bonzini 31bb19
 
Paolo Bonzini 31bb19
 echo "ARCH=$ARCH" >> $config_host_mak
Paolo Bonzini 31bb19
 if test "$debug_tcg" = "yes" ; then
Paolo Bonzini 31bb19
-- 
Paolo Bonzini 31bb19
1.7.12.1
Paolo Bonzini 31bb19