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

2017-05-31 Thread Sergei Trofimovich
increase portability across other libcs. Bug: https://bugs.gentoo.org/610652 Signed-off-by: Sergei Trofimovich --- Change since v1: - rebased on top of current master - dedented nested '#include' configure.ac | 1 + libweston/launcher-direct.c| 9 -

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

2017-03-21 Thread Sergei Trofimovich
AJOR 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 also increase portability across other libcs. Bug: https://bugs.gentoo.org/610652 Signed-off-by: Sergei Trofimovich --- configure.ac