From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH v3 2/5] configure: make the libaio test conditional on blktap{1, 2}
Date: Thu, 19 Jun 2014 19:46:17 +0200 [thread overview]
Message-ID: <53A321E9.2090406@citrix.com> (raw)
In-Reply-To: <20140619173531.GR20819@zion.uk.xensource.com>
On 19/06/14 19:35, Wei Liu wrote:
> On Thu, Jun 19, 2014 at 06:32:45PM +0200, Roger Pau Monne wrote:
>> libaio is only required for blktap{1,2}, so make the check conditional
>> on whether the user has requested blktap{1,2} or not.
>>
>> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
>> Cc: Ian Campbell <ian.campbell@citrix.com>
>> ---
>> Please re-run autoconf after applying this patch.
>> ---
>> Changes since v2:
>> - Make libaio test conditional on whether blktap2 is also enabled.
>> ---
>> tools/configure.ac | 2 ++
>> 1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/tools/configure.ac b/tools/configure.ac
>> index 836bbba..6d70f04 100644
>> --- a/tools/configure.ac
>> +++ b/tools/configure.ac
>> @@ -262,7 +262,9 @@ AC_CHECK_HEADER([lzo/lzo1x.h], [
>> AC_CHECK_LIB([lzo2], [lzo1x_decompress], [zlib="$zlib -DHAVE_LZO1X -llzo2"])
>> ])
>> AC_SUBST(zlib)
>> +AS_IF([test "x$enable_blktap1" = "xyes" || test "x$enable_blktap2" = "xyes"], [
>> AC_CHECK_LIB([aio], [io_setup], [], [AC_MSG_ERROR([Could not find libaio])])
>> +])
>
> Libaio is needed by QEMU as well.
Not on FreeBSD, and Qemu already runs it's own configure script, so I
don't think we need to check for everything that Qemu needs here.
Roger.
next prev parent reply other threads:[~2014-06-19 17:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 16:32 [PATCH v3 0/5] tools: add support for FreeBSD Roger Pau Monne
2014-06-19 16:32 ` [PATCH v3 1/5] configure: set blktap2 availability on configure Roger Pau Monne
2014-06-19 16:41 ` David Vrabel
2014-06-19 16:46 ` Roger Pau Monné
2014-06-19 16:47 ` David Vrabel
2014-06-19 16:32 ` [PATCH v3 2/5] configure: make the libaio test conditional on blktap{1, 2} Roger Pau Monne
2014-06-19 17:35 ` Wei Liu
2014-06-19 17:46 ` Roger Pau Monné [this message]
2014-06-27 11:44 ` Ian Campbell
2014-06-19 16:32 ` [PATCH v3 3/5] libxl: add support for FreeBSD uuid implementation Roger Pau Monne
2014-06-19 16:42 ` Andrew Cooper
2014-06-19 16:32 ` [PATCH v3 4/5] libxl: remove the gate that only allows block or regular backing images Roger Pau Monne
2014-06-19 16:32 ` [PATCH v3 5/5] libxc: fix printf formatting error surfaced by 66f8c6 Roger Pau Monne
2014-06-27 13:38 ` [PATCH v3 0/5] tools: add support for FreeBSD Ian Campbell
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=53A321E9.2090406@citrix.com \
--to=roger.pau@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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 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.