qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Saggi Mizrahi <smizrahi@redhat.com>
To: qemu-devel@nongnu.org
Cc: Saggi Mizrahi <smizrahi@redhat.com>
Subject: [Qemu-devel] [PATCH 1/2] Better support for distros using /lib64 directories
Date: Sun, 30 Oct 2011 18:51:58 +0200	[thread overview]
Message-ID: <1319993519-865-1-git-send-email-smizrahi@redhat.com> (raw)

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.

Signed-off-by: Saggi Mizrahi <smizrahi@redhat.com>
---
 configure |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 4f87e0a..d361e91 100755
--- a/configure
+++ b/configure
@@ -147,6 +147,9 @@ datadir="\${prefix}/share/qemu"
 docdir="\${prefix}/share/doc/qemu"
 bindir="\${prefix}/bin"
 libdir="\${prefix}/lib"
+if [ -d /lib64 ]; then
+libdir="\${prefix}/lib64"
+fi
 includedir="\${prefix}/include"
 sysconfdir="\${prefix}/etc"
 confsuffix="/qemu"
-- 
1.7.7

             reply	other threads:[~2011-10-30 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-30 16:51 Saggi Mizrahi [this message]
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 ` [Qemu-devel] [PATCH 1/2] Better support for distros using /lib64 directories Paolo Bonzini

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=1319993519-865-1-git-send-email-smizrahi@redhat.com \
    --to=smizrahi@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).