<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Sat, 2011-09-17 at 06:52 +1000, Peter Hutterer wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Wed, Sep 14, 2011 at 10:33:56PM -0700, Chase Douglas wrote:
&gt; Signed-off-by: Chase Douglas &lt;<A HREF="mailto:chase.douglas@canonical.com">chase.douglas@canonical.com</A>&gt;
&gt; ---
&gt;  configure.ac |    3 +++
&gt;  1 files changed, 3 insertions(+), 0 deletions(-)
&gt; 
&gt; diff --git a/configure.ac b/configure.ac
&gt; index 6c2f731..f3d6d8e 100644
&gt; --- a/configure.ac
&gt; +++ b/configure.ac
&gt; @@ -39,6 +39,9 @@ if ! test &quot;x$UNSTABLE_LIB&quot; = xyes; then
&gt;      AC_MSG_ERROR([This branch contains elements which have not yet been finalised.  When this branch is updated, you will probably need to recompile both the any clients using the library, and may experience crashes or undefined behaviour if you do not.])
&gt;  fi
&gt;  
&gt; +# Define macros for compiling with unstable protocols
&gt; +AC_SUBST(CFLAGS, &quot;-DXINPUT2_1_USE_UNSTABLE_PROTOCOL -DXINPUT2_2_USE_UNSTABLE_PROTOCOL&quot;)
</PRE>
</BLOCKQUOTE>
CFLAGS is a user environment and should never be set in configure.ac. In some case it is, for a configure test, but restored to the original value. Refer to Automake documentation for a complete discussion on env variable usage.
<BLOCKQUOTE TYPE=CITE>
<PRE>
&gt; +

I think the 2.1 protocol is stable enough so we don't need the first define.
it's not in master anyway.

Cheers,
  Peter

&gt;  # Check for xmlto and asciidoc for man page conversion
&gt;  # (only needed by people building tarballs)
&gt;  if test &quot;$have_xmlto&quot; = yes &amp;&amp; test &quot;$have_asciidoc&quot; = yes; then
&gt; -- 
&gt; 1.7.4.1
&gt; 
_______________________________________________
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>: X.Org development
Archives: <A HREF="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</A>
Info: <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>