On 09/13/2016 05:31 PM, Eric Blake wrote:
[hit send too soon]
Okay, I have confirmed that this prime-the-cache idea DOES work,
using
libvirt.git commit 419bc8cf (one commit prior to d53fa838 which
installed a hack into libvirt to force the use of -Werror for the
duration of AC_HEADER_MAJOR [1]). By itself, './configure' succeeds but
leaves MAJOR_IN_SYSMACROS undefined, which results in a build failure
later in libvirt; but when run as './configure
ac_cv_header_sys_types_h_makedev=no', MAJOR_IN_SYSMACROS gets defined
and the build succeeds.
I meant to add this link:
[1]
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=d53fa838
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org