qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] Better support for distros using /lib64 directories
Date: Mon, 31 Oct 2011 11:04:26 +0100	[thread overview]
Message-ID: <j8lrr9$p3q$1@dough.gmane.org> (raw)
In-Reply-To: <1319993519-865-1-git-send-email-smizrahi@redhat.com>

On 10/30/2011 05:51 PM, Saggi Mizrahi wrote:
> Some distributions use lib64 directories for 64 bit libraries. Currently
> configure would always generate libdir as $PREFIX/lib. By checking if
> the current distro has a /lib64 directory we can assume it is using this
> convention.

This doesn't work if people compile a 32-bit version of QEMU.  The right 
directory could be obtained with "gcc --print-multi-os-directory 
$CFLAGS", but I'm not sure whether it is a good thing to do.  We should 
try to avoid gratuitous differences from Autoconf.

The right thing to do would be to tweak the command-line supported by 
configure to the point that packagers can just use the same command-line 
that Autoconf uses (in RPM parlance that would be "%configure").

Paolo

      parent reply	other threads:[~2011-10-31 10:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-30 16:51 [Qemu-devel] [PATCH 1/2] Better support for distros using /lib64 directories Saggi Mizrahi
2011-10-30 16:51 ` [Qemu-devel] [PATCH 2/2] [WIP]Added target to build libvdisk Saggi Mizrahi
2011-10-30 17:21   ` Blue Swirl
2011-10-30 18:04     ` Saggi Mizrahi
2011-10-31 10:01       ` Paolo Bonzini
2011-10-31 10:04 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='j8lrr9$p3q$1@dough.gmane.org' \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).