2015-10-09 12:08:30 +08:00
|
|
|
AC_PREREQ([2.64])
|
|
|
|
|
|
|
|
|
|
m4_define([wayland_protocols_major_version], [0])
|
|
|
|
|
m4_define([wayland_protocols_minor_version], [1])
|
|
|
|
|
m4_define([wayland_protocols_version],
|
2015-11-25 10:04:00 +08:00
|
|
|
[wayland_protocols_major_version.wayland_protocols_minor_version])
|
2015-10-09 12:08:30 +08:00
|
|
|
|
|
|
|
|
AC_INIT([wayland-protocols],
|
|
|
|
|
[wayland_protocols_version],
|
|
|
|
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=protocols&version=wayland-protocols_version],
|
|
|
|
|
[wayland-protocols],
|
|
|
|
|
[http://wayland.freedesktop.org/])
|
|
|
|
|
|
|
|
|
|
AC_SUBST([WAYLAND_PROTOCOLS_VERSION], [wayland_protocols_version])
|
|
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
|
|
|
|
|
|
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
|
|
2015-11-22 20:51:27 +01:00
|
|
|
PKG_NOARCH_INSTALLDIR
|
2015-10-09 12:08:30 +08:00
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([
|
|
|
|
|
Makefile
|
|
|
|
|
wayland-protocols.pc
|
|
|
|
|
])
|
|
|
|
|
AC_OUTPUT
|
|
|
|
|
|
|
|
|
|
AC_MSG_RESULT([
|
2015-11-23 10:18:19 +08:00
|
|
|
Version ${WAYLAND_PROTOCOLS_VERSION}
|
2015-10-09 12:08:30 +08:00
|
|
|
Prefix ${prefix}
|
|
|
|
|
])
|