[libvirt] [PATCH option 1] Use fallocate directly if possible

Eric Blake eblake at redhat.com
Tue Mar 2 15:57:32 UTC 2010


According to Eric Blake on 3/2/2010 8:50 AM:
>> +AC_CHECK_FUNCS([cfmakeraw regexec uname sched_getaffinity getuid getgid posix_fallocate mmap fallocate])
> 
> This is already a long line, and you made it longer.  Autoconf will let
> you line-wrap the list to AC_CHECK_FUNCS; it splits on whitespace,
> including newlines.  And maybe it makes more sense to use
> AC_CHECK_FUNCS_ONCE instead of AC_CHECK_FUNCS (oh right, 2.59 didn't have
> the former).

Then again, we use gnulib, and gnulib guarantees AC_CHECK_FUNCS_ONCE even
for autoconf 2.59.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 320 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100302/d2780f3a/attachment-0001.sig>


More information about the libvir-list mailing list