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.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to