All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark McLoughlin <markmc@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, Mark McLoughlin <markmc@redhat.com>
Subject: [PATCH 2/2] kvm: configure: --with-patched-kernel doesn't need kernelversion
Date: Mon, 26 Jan 2009 10:43:22 +0000	[thread overview]
Message-ID: <1232966602-28492-2-git-send-email-markmc@redhat.com> (raw)
In-Reply-To: <1232966602-28492-1-git-send-email-markmc@redhat.com>

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 1fd133c..c3910cd 100755
--- a/configure
+++ b/configure
@@ -119,7 +119,7 @@ if [ -d "$kerneldir/include2" ]; then
     kernelsourcedir=${kerneldir%/*}/source
 fi
 
-if [ -n "$no_uname" ]; then
+if [ -n "$no_uname" -a "$want_module" ]; then
     if [ -e "$kerneldir/.kernelrelease" ]; then
         depmod_version=`cat "$kerneldir/.kernelrelease"`
 
-- 
1.6.0.6


  reply	other threads:[~2009-01-26 10:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 10:43 [PATCH 1/2] kvm: configure: if all else fails, really infer kernel version from .config Mark McLoughlin
2009-01-26 10:43 ` Mark McLoughlin [this message]
2009-01-26 10:57   ` [PATCH 2/2] kvm: configure: --with-patched-kernel doesn't need kernelversion Glauber Costa
2009-01-26 11:10     ` Mark McLoughlin
2009-01-26 19:28 ` [PATCH 1/2] kvm: configure: if all else fails, really infer kernel version from .config Marcelo Tosatti

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=1232966602-28492-2-git-send-email-markmc@redhat.com \
    --to=markmc@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.