[Libguestfs] Re: using gnulib from daemon/

Richard W.M. Jones rjones at redhat.com
Wed Aug 5 15:34:30 UTC 2009


On Wed, Aug 05, 2009 at 12:31:15PM +0200, Jim Meyering wrote:
> Prompted by your "New commands to list devices by UUID and label"
> patch, I've adjusted it to use gnulib.
> 
> While just compiling hash.[ch] is probably ok, in general (given the
> strict requirements of libguestfs) using the C files of a module is
> usually not an option, since you don't get the benefit of the module's
> m4 tests or automake snippets.  For other modules, those pieces
> are often required.
> 
> To integrate gnulib into a project like this is not hard at all:

Sure - if we're happy to have effectively two copies of gnulib, then I
don't see any problem with this patch.  Since the second copy just
uses hash, should be OK.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list