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 dis
Date: Mon, 22 Aug 2011 20:06:37 +0300 [thread overview]
Message-ID: <1314032798-21423-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 0c67a4a..9001b4c 100755
--- a/configure
+++ b/configure
@@ -146,6 +146,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.6
next reply other threads:[~2011-08-22 17:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 17:06 Saggi Mizrahi [this message]
2011-08-22 17:06 ` [Qemu-devel] [PATCH 2/2] Added target to build libvdisk Saggi Mizrahi
2011-08-22 18:50 ` Blue Swirl
2011-08-22 19:29 ` Anthony Liguori
2011-08-23 16:12 ` Daniel P. Berrange
2011-08-23 16:14 ` Anthony Liguori
2011-08-23 16:18 ` Daniel P. Berrange
2011-08-23 16:21 ` Anthony Liguori
2011-08-24 11:32 ` Saggi Mizrahi
2011-08-24 12:50 ` Anthony Liguori
2011-08-24 12:55 ` Daniel P. Berrange
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=1314032798-21423-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).