• M
    configure: Check for major() more strictly · d53fa838
    Michal Privoznik 提交于
    Thing is, in f3f15cc2 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: NMichal Privoznik <mprivozn@redhat.com>
    d53fa838
configure.ac 94.5 KB