commit | 7040fea0280bad527ed4b3d5eee7d7bfbf303efc | [log] [tgz] |
---|---|---|
author | Adam Jackson <ajax@redhat.com> | Thu May 04 12:25:01 2017 -0400 |
committer | Adam Jackson <ajax@redhat.com> | Thu May 04 14:36:55 2017 -0400 |
tree | 4deb4eb3a75454a4366663e0470275df680f53a1 | |
parent | 7c27cd7c5da0b87cea0dacd454307e2613d3b415 [diff] |
configure: Fix the <sys/sysmacros.h> check AC_HEADER_MAJOR only defines MAJOR_IN_SYSMACROS if major() is _not_ defined by <sys/types.h> alone. It is, but it warns, and that's ugly. To fix this, push -Werror into CFLAGS when invoking AC_HEADER_MAJOR so the warning makes the compilation test fail. Reviewed-by: Emil Velikov <emil.velilkov@collabora.com> Signed-off-by: Adam Jackson <ajax@redhat.com>