[PATCH aiptek 06/18] Require server 1.9, drop pre-ABI 11 support.

Gaetan Nadon memsize at videotron.ca
Thu Dec 2 08:31:01 PST 2010


On Thu, 2010-12-02 at 12:13 +1000, Peter Hutterer wrote:

>  # Obtain compiler/linker options from server and required extensions
> -PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto
> $REQUIRED_MODULES)
> +PKG_CHECK_MODULES(XORG, [xorg-server >= 1.9.0] xproto
> $REQUIRED_MODULES)
> 


In addition, you can replace the $REQUIRED_MODULES with "randr
inputproto" and deleted the following lines:

        # Store the list of server defined extensions in REQUIRED_MODULES
        XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
        XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101202/86713e1b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101202/86713e1b/attachment.pgp>


More information about the xorg-devel mailing list