]> xenbits.xensource.com Git - libvirt.git/commit
configure: Check for major() more strictly
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Sep 2016 14:23:05 +0000 (16:23 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Sep 2016 16:09:55 +0000 (18:09 +0200)
commitd53fa838e18d8c192296487ff40c3a37420b6d06
tree3f7f869a84f68ae9ec93e264f5d34541ea4285d8
parent419bc8cf65ff38d9074224b3539696ee7d17d3d4
configure: Check for major() more strictly

Thing is, in f3f15cc24 I'm trying to adapt libvirt to the newest
glibc where major()/minor()/makedev() are moved from sys/types.h
to sys/sysmacros.h. However, my commit back then expect autoconf
to be fixed too as we already use AC_HEADER_MAJOR to determine
which header file the functions are in, but because the header
files just trigger a warning and not a compile error, the
autoconf macro detects the bad header file.

This is just a workaround until autoconf macro is fixed.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
configure.ac