From patchwork Wed Oct 17 17:09:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 192108 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 79D512C0096 for ; Thu, 18 Oct 2012 04:10:00 +1100 (EST) Received: from localhost ([::1]:59228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOX82-00045v-7W for incoming@patchwork.ozlabs.org; Wed, 17 Oct 2012 13:09:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOX7r-00045T-AV for qemu-devel@nongnu.org; Wed, 17 Oct 2012 13:09:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOX7h-0000wY-N7 for qemu-devel@nongnu.org; Wed, 17 Oct 2012 13:09:47 -0400 Received: from david.siemens.de ([192.35.17.14]:25580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOX7h-0000w9-DR; Wed, 17 Oct 2012 13:09:37 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.13.6/8.13.6) with ESMTP id q9HH9RiO009880; Wed, 17 Oct 2012 19:09:27 +0200 Received: from mchn199C.mchp.siemens.de ([139.25.109.49]) by mail1.siemens.de (8.13.6/8.13.6) with ESMTP id q9HH9PjN004246; Wed, 17 Oct 2012 19:09:25 +0200 Message-ID: <507EE645.7040403@siemens.com> Date: Wed, 17 Oct 2012 19:09:25 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Anthony Liguori , qemu-devel X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 192.35.17.14 Cc: Corey Bryant , Michael Tokarev , qemu-stable Subject: [Qemu-devel] [PATCH] configure: Fix CONFIG_QEMU_HELPERDIR generation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 353d788..e3a1780 100755 --- a/configure +++ b/configure @@ -3227,7 +3227,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