Skip to content
Commit 7040fea0 authored by Adam Jackson's avatar Adam Jackson
Browse files

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: default avatarEmil Velikov <emil.velilkov@collabora.com>
Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
parent 7c27cd7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment