mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-06 09:08:19 +02:00
Require configure flag to build this proto version.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ca39f67c2a
commit
e19eaef83d
1 changed files with 8 additions and 0 deletions
|
|
@ -11,6 +11,14 @@ XORG_DEFAULT_OPTIONS
|
|||
XORG_ENABLE_SPECS
|
||||
XORG_WITH_ASCIIDOC(8.4.5)
|
||||
|
||||
AC_ARG_ENABLE(unstable-protocol,
|
||||
AS_HELP_STRING([--enable-unstable-protocol],
|
||||
[Enables compilation of yet-to-be-finalised protocol (default: disabled)]),
|
||||
[UNSTABLE_PROTO=$enableval], [UNSTABLE_PROTO=no])
|
||||
if ! test "x$UNSTABLE_PROTO" = xyes; then
|
||||
AC_MSG_ERROR([This branch contains protocol elements which have not yet been finalised. When this branch is updated, you will probably need to recompile both the server, libXi, and input-using clients, and may experience crashes or undefined behaviour if you do not.])
|
||||
fi
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
specs/Makefile
|
||||
inputproto.pc])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue