summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-10-17 19:09:25 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-10-19 20:35:33 +0200
commit38f419f35225decdbaea9fe1fd00218f8924ce84 (patch)
tree1eaf731fa4ce33f29bb82e8befd933f50a94388c /configure
parent585f60368f23e6603cf86cfdaeceb89d1169f4b8 (diff)
downloadqemu-38f419f35225decdbaea9fe1fd00218f8924ce84.tar.gz
configure: Fix CONFIG_QEMU_HELPERDIR generation
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f9c31f4195..9f33c7d723 100755
--- 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