diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c755917..d3e2bc2 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) |