diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-04-11 10:09:57 +1000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2011-04-22 14:10:26 +0100 |
commit | e19eaef83db9181787a13fa95d642971c33d559b (patch) | |
tree | 9c02fc9088f8f8669d91856d3c5858680d44e7e6 /configure.ac | |
parent | ca39f67c2aa5b255f2b85d7c649edff8295eed5e (diff) |
Require configure flag to build this proto version.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-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]) |