<!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.26.0">
</HEAD>
<BODY>
On Thu, 2010-12-02 at 12:13 +1000, Peter Hutterer wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#1a1a1a"> # Obtain compiler/linker options from server and required extensions</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.9.0] xproto $REQUIRED_MODULES)</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
<BR>
In addition, you can replace the $REQUIRED_MODULES with "randr inputproto" and deleted the following lines:
<BLOCKQUOTE>
<PRE>
# Store the list of server defined extensions in REQUIRED_MODULES
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
</PRE>
</BLOCKQUOTE>
These extensions are not "optional" and are always present in the server. Even if the server could be configured without these extensions, the driver would not compile as there is no #ifdef for XINPUT or RANDR. It is really not obvious that XORG_DRIVER_CHECK_EXT populates the REQUIRED_MODULES variable.<BR>
<BR>
</BODY>
</HTML>