]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
build: fix broken mingw cross-compilation
authorEric Blake <eblake@redhat.com>
Fri, 18 Feb 2011 19:00:47 +0000 (12:00 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 18 Feb 2011 19:02:22 +0000 (12:02 -0700)
commit7b6286b780c2f381bfc4eb9efeecaad92e253d2a
treed037c391a4c6082c6f61bda4b75a315abfb787b0
parent791da4e7367326b09357c94a5fd626efd8a85aa8
build: fix broken mingw cross-compilation

Two regressions:
Commit df1011ca broke builds for systems that lack devmapper
(non-Linux, as well as Linux with ./autogen.sh --without-libvirtd
and without the libraries present).
Commit ce6fd650 broke cross-compilation, due to a gnulib bug.

* .gnulib: Update to latest, for cross-compilation fix.
* src/util/util.c (virIsDevMapperDevice): Provide stub for
platforms not using storage driver.
* configure.ac (devmapper): Arrange to define HAVE_LIBDEVMAPPER_H.
devmapper issue reported by Wen Congyang.
.gnulib
configure.ac
src/util/util.c