Skip to contentSkip to conversation

use --libexecdir instead of ignoring it first and reinventing it later

PATCH Applied Michael Tokarev 6 participants 13 messages Jun 6, 2012 – Sep 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use --libexecdir instead of ignoring it first and reinventing it later

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version of bridge helper" put the bridge helper executable into a fixed ${prefix}/libexec/ location, instead of using ${libexecdir} for this. At the same time, --libexecdir is being happily ignored by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

Fix this braindamage by introducing $libexecdir variable, using it for the bridge helper binary, and recognizing --libexecdir.

This patch is applicable to stable-1.1.

---
 configure |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
configure +7 -3
index 38dafec..fc86803 100755
@@ -169,6 +169,7 @@ datadir="\${prefix}/share"
 qemu_docdir="\${prefix}/share/doc/qemu"
 bindir="\${prefix}/bin"
 libdir="\${prefix}/lib"
+libexecdir="\${prefix}/libexec"
 includedir="\${prefix}/include"
 sysconfdir="\${prefix}/etc"
 confsuffix="/qemu"
@@ -598,6 +599,8 @@ for opt do
   ;;
   --libdir=*) libdir="$optarg"
   ;;
+  --libexecdir=*) libexecdir="$optarg"
+  ;;
   --includedir=*) includedir="$optarg"
   ;;
   --datadir=*) datadir="$optarg"
@@ -608,7 +611,7 @@ for opt do
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;
-  --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
+  --sbindir=*|--sharedstatedir=*|--localstatedir=*|\
   --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
   --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
     # These switches are silently ignored, for compatibility with
@@ -2960,6 +2963,7 @@ echo "Install prefix    $prefix"
 echo "BIOS directory    `eval echo $qemu_datadir`"
 echo "binary directory  `eval echo $bindir`"
 echo "library directory `eval echo $libdir`"
+echo "libexec directory `eval echo $libexecdir`"
 echo "include directory `eval echo $includedir`"
 echo "config directory  `eval echo $sysconfdir`"
 if test "$mingw32" = "no" ; then
@@ -3064,14 +3068,14 @@ echo all: >> $config_host_mak
 echo "prefix=$prefix" >> $config_host_mak
 echo "bindir=$bindir" >> $config_host_mak
 echo "libdir=$libdir" >> $config_host_mak
+echo "libexecdir=$libexecdir" >> $config_host_mak
 echo "includedir=$includedir" >> $config_host_mak
 echo "mandir=$mandir" >> $config_host_mak
 echo "sysconfdir=$sysconfdir" >> $config_host_mak
 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 "libexecdir=\${prefix}/libexec" >> $config_host_mak
-echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"" >> $config_host_mak
+echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak
 
 echo "ARCH=$ARCH" >> $config_host_mak
 if test "$debug_tcg" = "yes" ; then
Signature · 1 line
1.7.10
Reviewed-by on v1 1/1
#1 lore raw

Am 06.06.2012 23:11, schrieb Michael Tokarev:

Quoted 11 lines

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version of bridge helper" put the bridge helper executable into a fixed ${prefix}/libexec/ location, instead of using ${libexecdir} for this. At the same time, --libexecdir is being happily ignored by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

Fix this braindamage by introducing $libexecdir variable, using it for the bridge helper binary, and recognizing --libexecdir.

Quoted 6 lines

This patch is applicable to stable-1.1.

I noticed the lack of this and just passed libexecdir= to make as a workaround for our openSUSE package.

Regards,
Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#2 lore raw
Quoted 1 line · Andreas Färber

Am 06.06.2012 23:11, schrieb Michael Tokarev:

[]

Quoted 4 lines

I noticed the lack of this and just passed libexecdir= to make as a workaround for our openSUSE package.

Thank you for your review. However, passing libexecdir= to make wont work, due to this:

Quoted 3 lines
Quoted 3 lines

by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

configure:
echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"" >> $config_host_mak

You need to pass CONFIG_QEMU_HELPERDIR= not libexecdir= to make.

/mjt

#3 lore raw

Am 07.06.2012 00:12, schrieb Michael Tokarev:

Quoted 10 lines · Andreas Färber
Quoted 1 line

Am 06.06.2012 23:11, schrieb Michael Tokarev:

[]

Quoted 4 lines

I noticed the lack of this and just passed libexecdir= to make as a workaround for our openSUSE package.

Thank you for your review. However, passing libexecdir= to make wont work,

Trust me, it does. Otherwise our package build would still fail since our %_libexecdir is /usr/lib.

See Makefile, that one actually uses $(libexecdir):

Makefile:       $(INSTALL_DIR) "$(DESTDIR)$(libexecdir)"
Makefile:       $(INSTALL_PROG) $(STRIP_OPT) $(HELPERS-y)

"$(DESTDIR)$(libexecdir)"

Yes, it is a mess. :)

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#4 lore raw

On 07.06.2012 02:21, Andreas Färber wrote:
[]

Quoted 4 lines

Trust me, it does. Otherwise our package build would still fail since our %_libexecdir is /usr/lib.

See Makefile, that one actually uses $(libexecdir):

Makefile installs stuff to /usr/lib, but does the resulting qemu binary look there too?

/mjt

#5 lore raw

Am 07.06.2012 00:23, schrieb Michael Tokarev:

Quoted 8 lines · Andreas Färber
Quoted 4 lines

Trust me, it [works]. Otherwise our package build would still fail since our %_libexecdir is /usr/lib.

See Makefile, that one actually uses $(libexecdir):

Makefile installs stuff to /usr/lib, but does the resulting qemu binary look there too?

Bo Yang, I believe you tested the new bridge helper recently. Did you run into any path issues with /usr/libexec vs. /usr/lib?

Bruce seems to use make install libexecdir=%_libexecdir for the kvm package just like I do for qemu.

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#6 lore raw
Quoted 7 lines · Andreas Färber

Am 07.06.2012 00:23, schrieb Michael Tokarev:

Quoted 6 lines · Andreas Färber
Quoted 4 lines

Trust me, it [works]. Otherwise our package build would still fail since our %_libexecdir is /usr/lib.

See Makefile, that one actually uses $(libexecdir):

Quoted 8 lines
Quoted 2 lines

Makefile installs stuff to /usr/lib, but does the resulting qemu binary look there too?

Bo Yang, I believe you tested the new bridge helper recently. Did you run into any path issues with /usr/libexec vs. /usr/lib?

Bruce seems to use make install libexecdir=%_libexecdir for the kvm package just like I do for qemu.

$ strings x86_64-softmmu/qemu-system-x86-64 | grep bridge

is a very simple test. But I wonder if it is actually used except of the help text? It appears to be used, and even enabled by default.. But I haven't looked into the code this time, -EDEEPNIGHTALREADY :)

/mjt

#7 lore raw
In reply to Andreas Färber
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Andreas Färber

Am 07.06.2012 00:23, schrieb Michael Tokarev:

Quoted 8 lines · Andreas Färber
Quoted 4 lines

Trust me, it [works]. Otherwise our package build would still fail since our %_libexecdir is /usr/lib.

See Makefile, that one actually uses $(libexecdir):

Makefile installs stuff to /usr/lib, but does the resulting qemu binary look there too?

Quoted 7 lines

Bo Yang, I believe you tested the new bridge helper recently. Did you run into any path issues with /usr/libexec vs. /usr/lib?

Bruce seems to use make install libexecdir=%_libexecdir for the kvm package just like I do for qemu.

Andreas

I had just copied what you had in your spec file wrt libexecdir ;)

But it does appear we have a problem with the path to the bridge helper in our v1.1 rc3 based packages.

Bruce

#8 lore raw
In reply to Andreas Färber
Quoted 5 lines

Bo Yang, I believe you tested the new bridge helper recently. Did you run into any path issues with /usr/libexec vs. /usr/lib?

I didn't install the package. I only build and test the functions.

Quoted 1 line

From the source code of configure, the CONFIG_QEMU_HELPERDIR is

hardcoded to $prefix/libexec. The patch seems ok to make CONFIG_QEMU_HELPERDIR configurable.

Quoted 5 lines

Bruce seems to use make install libexecdir=%_libexecdir for the kvm package just like I do for qemu.

Andreas

Reviewed-by on v1 1/1
#9 lore raw
In reply to Michael Tokarev
Quoted 11 lines · Michael Tokarev

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version of bridge helper" put the bridge helper executable into a fixed ${prefix}/libexec/ location, instead of using ${libexecdir} for this. At the same time, --libexecdir is being happily ignored by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

Fix this braindamage by introducing $libexecdir variable, using it for the bridge helper binary, and recognizing --libexecdir.

Thanks for the patch and apologies for the trouble.

Signature · 2 lines
Regards,
Corey
Quoted 65 lines

This patch is applicable to stable-1.1.

---
  configure |   10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)
configure +7 -3
index 38dafec..fc86803 100755
@@ -169,6 +169,7 @@ datadir="\${prefix}/share"
  qemu_docdir="\${prefix}/share/doc/qemu"
  bindir="\${prefix}/bin"
  libdir="\${prefix}/lib"
+libexecdir="\${prefix}/libexec"
  includedir="\${prefix}/include"
  sysconfdir="\${prefix}/etc"
  confsuffix="/qemu"
@@ -598,6 +599,8 @@ for opt do
    ;;
    --libdir=*) libdir="$optarg"
    ;;
+  --libexecdir=*) libexecdir="$optarg"
+  ;;
    --includedir=*) includedir="$optarg"
    ;;
    --datadir=*) datadir="$optarg"
@@ -608,7 +611,7 @@ for opt do
    ;;
    --sysconfdir=*) sysconfdir="$optarg"
    ;;
-  --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
+  --sbindir=*|--sharedstatedir=*|--localstatedir=*|\
    --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
    --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
      # These switches are silently ignored, for compatibility with
@@ -2960,6 +2963,7 @@ echo "Install prefix    $prefix"
  echo "BIOS directory    `eval echo $qemu_datadir`"
  echo "binary directory  `eval echo $bindir`"
  echo "library directory `eval echo $libdir`"
+echo "libexec directory `eval echo $libexecdir`"
  echo "include directory `eval echo $includedir`"
  echo "config directory  `eval echo $sysconfdir`"
  if test "$mingw32" = "no" ; then
@@ -3064,14 +3068,14 @@ echo all:>>  $config_host_mak
  echo "prefix=$prefix">>  $config_host_mak
  echo "bindir=$bindir">>  $config_host_mak
  echo "libdir=$libdir">>  $config_host_mak
+echo "libexecdir=$libexecdir">>  $config_host_mak
  echo "includedir=$includedir">>  $config_host_mak
  echo "mandir=$mandir">>  $config_host_mak
  echo "sysconfdir=$sysconfdir">>  $config_host_mak
  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 "libexecdir=\${prefix}/libexec">>  $config_host_mak
-echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"">>  $config_host_mak
+echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"">>  $config_host_mak
 
  echo "ARCH=$ARCH">>  $config_host_mak
  if test "$debug_tcg" = "yes" ; then
#10 lore raw
In reply to Michael Tokarev

Am 06.06.2012 23:11, schrieb Michael Tokarev:

Quoted 11 lines

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version of bridge helper" put the bridge helper executable into a fixed ${prefix}/libexec/ location, instead of using ${libexecdir} for this. At the same time, --libexecdir is being happily ignored by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

Fix this braindamage by introducing $libexecdir variable, using it for the bridge helper binary, and recognizing --libexecdir.

Quoted 6 lines

This patch is applicable to stable-1.1.

Ping! This patch still seems missing in master and is needed for v1.1 and v1.2 packaging.

Andreas

Quoted 60 lines
---
 configure |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
configure +7 -3
index 38dafec..fc86803 100755
@@ -169,6 +169,7 @@ datadir="\${prefix}/share"
 qemu_docdir="\${prefix}/share/doc/qemu"
 bindir="\${prefix}/bin"
 libdir="\${prefix}/lib"
+libexecdir="\${prefix}/libexec"
 includedir="\${prefix}/include"
 sysconfdir="\${prefix}/etc"
 confsuffix="/qemu"
@@ -598,6 +599,8 @@ for opt do
   ;;
   --libdir=*) libdir="$optarg"
   ;;
+  --libexecdir=*) libexecdir="$optarg"
+  ;;
   --includedir=*) includedir="$optarg"
   ;;
   --datadir=*) datadir="$optarg"
@@ -608,7 +611,7 @@ for opt do
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;
-  --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
+  --sbindir=*|--sharedstatedir=*|--localstatedir=*|\
   --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
   --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
     # These switches are silently ignored, for compatibility with
@@ -2960,6 +2963,7 @@ echo "Install prefix    $prefix"
 echo "BIOS directory    `eval echo $qemu_datadir`"
 echo "binary directory  `eval echo $bindir`"
 echo "library directory `eval echo $libdir`"
+echo "libexec directory `eval echo $libexecdir`"
 echo "include directory `eval echo $includedir`"
 echo "config directory  `eval echo $sysconfdir`"
 if test "$mingw32" = "no" ; then
@@ -3064,14 +3068,14 @@ echo all: >> $config_host_mak
 echo "prefix=$prefix" >> $config_host_mak
 echo "bindir=$bindir" >> $config_host_mak
 echo "libdir=$libdir" >> $config_host_mak
+echo "libexecdir=$libexecdir" >> $config_host_mak
 echo "includedir=$includedir" >> $config_host_mak
 echo "mandir=$mandir" >> $config_host_mak
 echo "sysconfdir=$sysconfdir" >> $config_host_mak
 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 "libexecdir=\${prefix}/libexec" >> $config_host_mak
-echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"" >> $config_host_mak
+echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak
 
 echo "ARCH=$ARCH" >> $config_host_mak
 if test "$debug_tcg" = "yes" ; then
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#11 lore raw

Am 16.08.2012 16:46, schrieb Andreas Färber:

Quoted 14 lines

Am 06.06.2012 23:11, schrieb Michael Tokarev:

Quoted 13 lines

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version of bridge helper" put the bridge helper executable into a fixed ${prefix}/libexec/ location, instead of using ${libexecdir} for this. At the same time, --libexecdir is being happily ignored by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

Fix this braindamage by introducing $libexecdir variable, using it for the bridge helper binary, and recognizing --libexecdir.

This patch is applicable to stable-1.1.

Quoted 7 lines
Quoted 4 lines

Ping! This patch still seems missing in master and is needed for v1.1 and v1.2 packaging.

Ping^2! Could someone please apply this before it's too late? (optionally with less offensive wording...)

Thanks,
Andreas

Quoted 62 lines
Quoted 60 lines
---
 configure |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
configure +7 -3
index 38dafec..fc86803 100755
@@ -169,6 +169,7 @@ datadir="\${prefix}/share"
 qemu_docdir="\${prefix}/share/doc/qemu"
 bindir="\${prefix}/bin"
 libdir="\${prefix}/lib"
+libexecdir="\${prefix}/libexec"
 includedir="\${prefix}/include"
 sysconfdir="\${prefix}/etc"
 confsuffix="/qemu"
@@ -598,6 +599,8 @@ for opt do
   ;;
   --libdir=*) libdir="$optarg"
   ;;
+  --libexecdir=*) libexecdir="$optarg"
+  ;;
   --includedir=*) includedir="$optarg"
   ;;
   --datadir=*) datadir="$optarg"
@@ -608,7 +611,7 @@ for opt do
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;
-  --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
+  --sbindir=*|--sharedstatedir=*|--localstatedir=*|\
   --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
   --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
     # These switches are silently ignored, for compatibility with
@@ -2960,6 +2963,7 @@ echo "Install prefix    $prefix"
 echo "BIOS directory    `eval echo $qemu_datadir`"
 echo "binary directory  `eval echo $bindir`"
 echo "library directory `eval echo $libdir`"
+echo "libexec directory `eval echo $libexecdir`"
 echo "include directory `eval echo $includedir`"
 echo "config directory  `eval echo $sysconfdir`"
 if test "$mingw32" = "no" ; then
@@ -3064,14 +3068,14 @@ echo all: >> $config_host_mak
 echo "prefix=$prefix" >> $config_host_mak
 echo "bindir=$bindir" >> $config_host_mak
 echo "libdir=$libdir" >> $config_host_mak
+echo "libexecdir=$libexecdir" >> $config_host_mak
 echo "includedir=$includedir" >> $config_host_mak
 echo "mandir=$mandir" >> $config_host_mak
 echo "sysconfdir=$sysconfdir" >> $config_host_mak
 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 "libexecdir=\${prefix}/libexec" >> $config_host_mak
-echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"" >> $config_host_mak
+echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak
 
 echo "ARCH=$ARCH" >> $config_host_mak
 if test "$debug_tcg" = "yes" ; then
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#12 lore raw
In reply to Michael Tokarev
Quoted 11 lines · Michael Tokarev

Commit 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 "Add basic version of bridge helper" put the bridge helper executable into a fixed ${prefix}/libexec/ location, instead of using ${libexecdir} for this. At the same time, --libexecdir is being happily ignored by ./configure. Even more, the same patch sets unused $libexecdir variable in the generated config-host.mak, and uses fixed string (\${prefix}/libexecdir) for the bridge helper binary.

Fix this braindamage by introducing $libexecdir variable, using it for the bridge helper binary, and recognizing --libexecdir.

Quoted 6 lines

This patch is applicable to stable-1.1.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 61 lines
---
 configure |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
configure +7 -3
index 38dafec..fc86803 100755
@@ -169,6 +169,7 @@ datadir="\${prefix}/share"
 qemu_docdir="\${prefix}/share/doc/qemu"
 bindir="\${prefix}/bin"
 libdir="\${prefix}/lib"
+libexecdir="\${prefix}/libexec"
 includedir="\${prefix}/include"
 sysconfdir="\${prefix}/etc"
 confsuffix="/qemu"
@@ -598,6 +599,8 @@ for opt do
   ;;
   --libdir=*) libdir="$optarg"
   ;;
+  --libexecdir=*) libexecdir="$optarg"
+  ;;
   --includedir=*) includedir="$optarg"
   ;;
   --datadir=*) datadir="$optarg"
@@ -608,7 +611,7 @@ for opt do
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;
-  --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
+  --sbindir=*|--sharedstatedir=*|--localstatedir=*|\
   --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
   --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
     # These switches are silently ignored, for compatibility with
@@ -2960,6 +2963,7 @@ echo "Install prefix    $prefix"
 echo "BIOS directory    `eval echo $qemu_datadir`"
 echo "binary directory  `eval echo $bindir`"
 echo "library directory `eval echo $libdir`"
+echo "libexec directory `eval echo $libexecdir`"
 echo "include directory `eval echo $includedir`"
 echo "config directory  `eval echo $sysconfdir`"
 if test "$mingw32" = "no" ; then
@@ -3064,14 +3068,14 @@ echo all: >> $config_host_mak
 echo "prefix=$prefix" >> $config_host_mak
 echo "bindir=$bindir" >> $config_host_mak
 echo "libdir=$libdir" >> $config_host_mak
+echo "libexecdir=$libexecdir" >> $config_host_mak
 echo "includedir=$includedir" >> $config_host_mak
 echo "mandir=$mandir" >> $config_host_mak
 echo "sysconfdir=$sysconfdir" >> $config_host_mak
 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 "libexecdir=\${prefix}/libexec" >> $config_host_mak
-echo "CONFIG_QEMU_HELPERDIR=\"$prefix/libexec\"" >> $config_host_mak
+echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak
 
 echo "ARCH=$ARCH" >> $config_host_mak
 if test "$debug_tcg" = "yes" ; then
Signature · 1 line
1.7.10