[PATCH v2] configure.ac: use AC_HEADER_MAJOR to detect major()/minor()

Daniel Stone daniel at fooishbar.org
Tue Dec 5 13:47:52 UTC 2017


Hi Sergei,

On 31 May 2017 at 22:17, Sergei Trofimovich <slyfox at gentoo.org> wrote:
> This change slightly updates c4d7f66c12853b9575366dd9f4a7960ec5694934
> which added <sys/sysmacros.h> inclusion.
>
> Autoconf has AC_HEADER_MAJOR to find out which header defines
> reqiured macros:
>     https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Headers.html
>
> This change should increase portability across other libcs.

Thanks for this patch, it's now reviewed and pushed to mainline.

Cheers,
Daniel


More information about the wayland-devel mailing list