From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPIK5-0006dD-9x for qemu-devel@nongnu.org; Fri, 19 Oct 2012 15:33:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPIK3-0002Yn-5h for qemu-devel@nongnu.org; Fri, 19 Oct 2012 15:33:33 -0400 Date: Fri, 19 Oct 2012 21:33:15 +0200 From: Aurelien Jarno Message-ID: <20121019193315.GG22247@ohm.aurel32.net> References: <507EE645.7040403@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <507EE645.7040403@siemens.com> Subject: Re: [Qemu-devel] [PATCH] configure: Fix CONFIG_QEMU_HELPERDIR generation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , Corey Bryant , Michael Tokarev , qemu-devel , qemu-stable On Wed, Oct 17, 2012 at 07:09:25PM +0200, Jan Kiszka wrote: > 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 Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net