]> git.proxmox.com Git - qemu.git/commitdiff
configure: Fix CONFIG_QEMU_HELPERDIR generation
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 17 Oct 2012 17:09:25 +0000 (19:09 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 19 Oct 2012 18:35:33 +0000 (20:35 +0200)
We need to evaluate $libexecdir in configure, otherwise we literally end
up with "${prefix}/libexec" instead of the absolute path as
CONFIG_QEMU_HELPERDIR.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
configure

index f9c31f4195072ab6f8b3c4c414eec6bf37d3a55b..9f33c7d7232096ad666dbf80cba96b7db0e52210 100755 (executable)
--- a/configure
+++ b/configure
@@ -3200,7 +3200,7 @@ echo "qemu_confdir=$qemu_confdir" >> $config_host_mak
 echo "qemu_datadir=$qemu_datadir" >> $config_host_mak
 echo "qemu_docdir=$qemu_docdir" >> $config_host_mak
 echo "qemu_localstatedir=$local_statedir" >> $config_host_mak
-echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak
+echo "CONFIG_QEMU_HELPERDIR=\"`eval echo $libexecdir`\"" >> $config_host_mak
 
 echo "ARCH=$ARCH" >> $config_host_mak
 if test "$debug_tcg" = "yes" ; then